apply_filters( 'edit_posts_per_page', int $posts_per_page, string $post_type )

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


Parameters Parameters

$posts_per_page

(int) Number of posts to be displayed. Default 20.

$post_type

(string) The post type.


Top ↑

Source Source

File: wp-admin/includes/post.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.