Used By
Used By | Description |
---|---|
wp-admin/includes/post.php: wp_edit_posts_query() | Run the wp query to fetch the posts for listing on the edit posts page |
Filters the number of items per page to show for a specific ‘per_page’ type.
The dynamic portion of the hook name, $post_type
, refers to the post type.
Some examples of filter hooks generated here include: ‘edit_attachment_per_page’, ‘edit_post_per_page’, ‘edit_page_per_page’, etc.
(int) Number of posts to display per page for the given post type. Default 20.
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/edit_post_type_per_page