wppaste
WordPress

apply_filters( 'the_title', string $post_title, int $post_id )

Since
0.71
Filters the post title.

Parameters

$post_titlestring
The post title.
$post_idint
The post ID.

Fired at · 17

  • wp-admin/includes/class-walker-nav-menu-checklist.php:102Walker_Nav_Menu_Checklist::start_el()
  • wp-admin/includes/class-wp-posts-list-table.php:1110WP_Posts_List_Table::column_title()
  • wp-content/themes/twentytwenty/classes/class-twentytwenty-walker-page.php:138TwentyTwenty_Walker_Page::start_el()
  • wp-includes/class-walker-nav-menu.php:234Walker_Nav_Menu::start_el()
  • wp-includes/class-walker-page.php:206Walker_Page::start_el()
  • wp-includes/comment.php:3123do_trackbacks()
  • wp-includes/customize/class-wp-customize-nav-menu-item-setting.php:292WP_Customize_Nav_Menu_Item_Setting::get_original_title()
  • wp-includes/deprecated.php:154previous_post()
  • wp-includes/deprecated.php:190next_post()
  • wp-includes/deprecated.php:2709get_boundary_post_rel_link()
  • wp-includes/deprecated.php:2787get_parent_post_rel_link()
  • wp-includes/general-template.php:2215wp_get_archives()
  • wp-includes/link-template.php:2361get_adjacent_post_link()
  • wp-includes/nav-menu.php:897wp_setup_nav_menu_item()
  • wp-includes/post-template.php:174get_the_title()
  • wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php:531WP_REST_Menu_Items_Controller::prepare_item_for_response()
  • wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php:747WP_REST_Templates_Controller::prepare_item_for_response()

Source

	 *	 * @since 0.71	 *	 * @param string $post_title The post title.	 * @param int    $post_id    The post ID.	 */	return apply_filters( 'the_title', $post_title, $post_id );} /** * Displays the Post Global Unique Identifier (guid). * * The guid will appear to be a link, but should not be used as a link to the

History

Introduced in 0.71. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.