the_title filter-hook . WP 1.0
This filter is documented in wp-includes/post-template.php
Usage
add_filter( 'the_title', 'filter_function_name_6586', 10, 2 ); function filter_function_name_6586( $post_title, $ID ){ // filter... return $post_title; }
- $post_title
- -
- $ID
- -
Where the hook is called
the_title
the_title
the_title
the_title
the_title
the_title
the_title
the_title
the_title
wp-includes/nav-menu.php 841
$original_title = apply_filters( 'the_title', $original_object->post_title, $original_object->ID );
wp-includes/class-walker-nav-menu.php 213
$title = apply_filters( 'the_title', $item->title, $item->ID );
wp-includes/general-template.php 2139
$text = strip_tags( apply_filters( 'the_title', $result->post_title, $result->ID ) );
wp-includes/post-template.php 171
return apply_filters( 'the_title', $title, $id );
wp-includes/deprecated.php 151
$string .= apply_filters('the_title', $post->post_title, $post->ID);
wp-includes/deprecated.php 186
$string .= apply_filters('the_title', $post->post_title, $post->ID);
wp-includes/deprecated.php 2713
$title = apply_filters('the_title', $title, $post->ID);
wp-includes/deprecated.php 2788
$title = apply_filters('the_title', $title, $post->ID);
wp-includes/class-walker-page.php 199
apply_filters( 'the_title', $page->post_title, $page->ID ),
wp-includes/link-template.php 2178
$title = apply_filters( 'the_title', $title, $post->ID );
wp-includes/comment.php 2916
$post_title = apply_filters( 'the_title', $post->post_title, $post->ID );
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php 274
$original_title = apply_filters( 'the_title', $original_object->post_title, $original_object->ID );
wp-admin/includes/class-walker-nav-menu-checklist.php 97
$title = apply_filters( 'the_title', $item->post_title, $item->ID );
wp-admin/includes/class-wp-posts-list-table.php 996
$parent_name = apply_filters( 'the_title', $parent->post_title, $parent->ID );
Where in WP core the hook is used WordPress
wp-admin/includes/class-wp-media-list-table.php 649
add_filter( 'the_title', 'esc_html' );
wp-admin/includes/class-wp-posts-list-table.php 721
add_filter( 'the_title', 'esc_html' );
wp-includes/default-filters.php 142
add_filter( $filter, 'capital_P_dangit', 11 );
wp-includes/default-filters.php 168
add_filter( 'the_title', 'wptexturize' );
wp-includes/default-filters.php 169
add_filter( 'the_title', 'convert_chars' );
wp-includes/default-filters.php 170
add_filter( 'the_title', 'trim' );