WordPress at a glance
filter is not described

edit_posts_per_page filter-hook . WP 2.8.0

Filters the number of posts displayed per page when specifically listing "posts".

Usage

add_filter( 'edit_posts_per_page', 'filter_function_name_9656', 10, 2 );
function filter_function_name_9656( $posts_per_page, $post_type ){
	// filter...

	return $posts_per_page;
}
$posts_per_page(int)
Number of posts to be displayed.
Default: 20
$post_type(string)
The post type.

Where the hook is called

wp_edit_posts_query()
edit_posts_per_page
WP_Screen::render_per_page_options()
edit_posts_per_page
WP_Posts_List_Table::prepare_items()
edit_posts_per_page
wp-admin/includes/post.php 1165
$posts_per_page = apply_filters( 'edit_posts_per_page', $posts_per_page, $post_type );
wp-admin/includes/class-wp-screen.php 1220
$per_page = apply_filters( 'edit_posts_per_page', $per_page, $this->post_type );
wp-admin/includes/class-wp-posts-list-table.php 154
$per_page = apply_filters( 'edit_posts_per_page', $per_page, $post_type );

Where the hook is used (in WP core)

Использование не найдено.