A WordPress-centric search engine for devs and theme authors



sanitize_title ›

Since1.2.0
Deprecatedn/a
apply_filters( 'sanitize_title', $title, $raw_title, $context )
Parameters: (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
Defined at:
Codex:

Filters a sanitized title string.





Source

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