edit_{$post_type}_per_page

最后更新于:2021-11-26 09:09:21

apply_filters( “edit_{$post_type}_per_page”, int $posts_per_page )

Filters the number of items per page to show for a specific ‘per_page’ type.

参数

$posts_per_page

(int)
Number of posts to display per page for the given post type. Default 20.

源文件

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

View on Trac