Summery Summery
Filters the posts displayed in the ‘Most Recent’ tab of the current post type’s menu items meta box.
Syntax Syntax
Description Description
The dynamic portion of the hook name, $post_type_name
, refers to the post type name.
Parameters Parameters
- $most_recent
-
An array of post objects being listed.
- $args
-
An array of
WP_Query
arguments for the meta box. - $box
-
Arguments passed to
wp_nav_menu_item_post_type_meta_box()
. - $recent_args
-
An array of
WP_Query
arguments for 'Most Recent' tab.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.9.0 | Added the $recent_args parameter. |
4.3.0 | Introduced. |