Summery Summery
Filters the posts displayed in the ‘View All’ 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 slug of the current post type.
Parameters Parameters
- $posts
-
The posts for the current post type. Mostly
WP_Post
objects, but can also contain "fake" post objects to represent other menu items. - $args
-
An array of
WP_Query
arguments. - $post_type
-
The current post type object for this menu item meta box.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.6.0 | Converted the $post_type parameter to accept a WP_Post_Type object. |
3.2.0 | Introduced. |