From e7fe7ee764e4e6d95244bf9cc966faff31bad302 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 19:50:41 +0000 Subject: [PATCH] Add a description for the dynamic portion of the `nav_menu_items_{$post_type_name}_recent` filter added in 4.3. See [32833]. See #32891. git-svn-id: https://develop.svn.wordpress.org/trunk@33211 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/nav-menu.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-admin/includes/nav-menu.php b/src/wp-admin/includes/nav-menu.php index b7eefefab2..43a807c8b1 100644 --- a/src/wp-admin/includes/nav-menu.php +++ b/src/wp-admin/includes/nav-menu.php @@ -733,6 +733,8 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) { * Filter the posts displayed in the 'Most Recent' tab of the current * post type's menu items meta box. * + * The dynamic portion of the hook name, `$post_type_name`, refers to the post type name. + * * @since 4.3.0 * * @param array $most_recent An array of post objects being listed.