W3cubDocs

/WordPress

apply_filters( 'sanitize_title', string $title, string $raw_title, string $context )

Filters a sanitized title string.

Parameters

$title

(string) Sanitized title.

$raw_title

(string) The title prior to sanitization.

$context

(string) The context for which the title is being sanitized.

Source

File: wp-includes/formatting.php

View on Trac

Changelog

Version Description
1.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_title