edit_{$post_type}_per_page

edit_{$post_type}_per_page

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('edit_{$post_type}_per_page') is found 1 times:

  • /wp-admin/includes/post.php line 1279
    	 *
    	 * @param int $posts_per_page Number of posts to display per page for the given post
    	 *                            type. Default 20.
    	 */
    	$posts_per_page = apply_filters( "edit_{$post_type}_per_page", $posts_per_page );
    
    	/**
    	 * Filters the number of posts displayed per page when specifically listing "posts".
    	 *
    	 * @since 2.8.0
    	 *