Uma área de pesquisa sobre o WordPress para devs e autores do tema



sanitize_title ›

Desde1.2.0
Obsoleton/a
apply_filters( 'sanitize_title', $title, $raw_title, $context )
Parâmetros: (3)
  • (string) $title Sanitized title.
    Required: Yes
  • (string) $raw_title The title prior to sanitization.
    Required: Yes
  • (string) $context The context for which the title is being sanitized.
    Required: Yes
Definido em:
Codex:

Filters a sanitized title string.





Fonte

$title = apply_filters( 'sanitize_title', $title, $raw_title, $context );