Filters a sanitized title string.
$titlestring
$raw_titlestring
$contextstring
sanitize_title is a filter applied to a value to be cleaned up for use in a URL by the function sanitize_title()
$title = apply_filters( 'sanitize_title', $title, $raw_title, $context );
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_title