Used By
Used By | Description |
---|---|
wp-admin/includes/nav-menu.php: wp_nav_menu_item_post_type_meta_box() | Displays a meta box for a post type menu item. |
Filters 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.
(WP_Post[]) An array of post objects being listed.
(array) An array of WP_Query
arguments for the meta box.
(array) Arguments passed to wp_nav_menu_item_post_type_meta_box()
.
(array) An array of WP_Query
arguments for 'Most Recent' tab.
Version | Description |
---|---|
4.9.0 | Added the $recent_args parameter. |
4.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/nav_menu_items_post_type_name_recent