edit_posts_per_page

最后更新于:2021-11-26 09:06:14

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”.

参数

$posts_per_page

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

$post_type

(string)
The post type.

源文件

文件: gc-admin/includes/post.php

View on Trac