Filter hook 'the_title'

in WP Core File wp-admin/includes/class-walker-nav-menu-checklist.php at line 102

Description

Start the element output. to match parent class for PHP 8 named parameter support.

Occurrences

Filename Line Number
wp-admin/includes/class-walker-nav-menu-checklist.php 102
wp-admin/includes/class-wp-posts-list-table.php 1106
wp-includes/post-template.php 174
wp-includes/link-template.php 2337
wp-includes/class-walker-page.php 206
wp-includes/comment.php 2994
wp-includes/nav-menu.php 890
wp-includes/class-walker-nav-menu.php 259
wp-includes/general-template.php 2199
wp-includes/deprecated.php 153
wp-includes/deprecated.php 188
wp-includes/deprecated.php 2705
wp-includes/deprecated.php 2782
wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php 515
wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php 735
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php 273

Parameters

Type Name Description
string $output Used to append additional content (passed by reference).
WP_Post $data_object Menu item data object.
int $depth Depth of menu item. Used for padding.
stdClass $args Not used.
int $current_object_id Optional. ID of the current menu item. Default 0.

PHP Doc

/**
	 * Start the element output.
	 *
	 * @see Walker_Nav_Menu::start_el()
	 *
	 * @since 3.0.0
	 * @since 5.9.0 Renamed `$item` to `$data_object` and `$id` to `$current_object_id`
	 *              to match parent class for PHP 8 named parameter support.
	 *
	 * @global int        $_nav_menu_placeholder
	 * @global int|string $nav_menu_selected_id
	 *
	 * @param string   $output            Used to append additional content (passed by reference).
	 * @param WP_Post  $data_object       Menu item data object.
	 * @param int      $depth             Depth of menu item. Used for padding.
	 * @param stdClass $args              Not used.
	 * @param int      $current_object_id Optional. ID of the current menu item. Default 0.
	 */