WordPress at a glance
filter is not described

sanitize_title filter-hook . WP 1.2.0

Filters a sanitized title string.

Usage

add_filter( 'sanitize_title', 'filter_function_name_8202', 10, 3 );
function filter_function_name_8202( $title, $raw_title, $context ){
	// filter...

	return $title;
}
$title(string)
Sanitized title.
$raw_title(string)
The title prior to sanitization.
$context(string)
The context for which the title is being sanitized.

Список изменений

С версии 1.2.0 Введена.

Где вызывается хук

sanitize_title()
sanitize_title
wp-includes/formatting.php 2186
$title = apply_filters( 'sanitize_title', $title, $raw_title, $context );

Где используется хук в ядре WordPress

wp-includes/default-filters.php 249
add_filter( 'sanitize_title', 'sanitize_title_with_dashes', 10, 3 );