Description
Filters the number of posts displayed per page when specifically listing "posts".
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/post.php | 1289 |
wp-admin/includes/class-wp-posts-list-table.php | 176 |
wp-admin/includes/class-wp-screen.php | 1270 |
Parameters
Type | Name | Description |
---|---|---|
int | $posts_per_page | Number of posts to be displayed. Default 20. |
string | $post_type | The post type. |
PHP Doc
/**
* Filters the number of posts displayed per page when specifically listing "posts".
*
* @since 2.8.0
*
* @param int $posts_per_page Number of posts to be displayed. Default 20.
* @param string $post_type The post type.
*/