Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/post.php | apply_filters | 1228 | /** * 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. */ |
wp-admin/includes/class-wp-posts-list-table.php | apply_filters | 176 | /** * @global string $mode List table view mode. * @global array $avail_post_stati * @global WP_Query $wp_query WordPress Query object. * @global int $per_page */ |
wp-admin/includes/class-wp-screen.php | apply_filters | 1268 | /** * Renders the items per page option. * * @since 3.3.0 */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $posts_per_page | Number of posts to be displayed. Default 20. |
string | $post_type | The post type. |