wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



edit_posts_per_page › Filtr WordPress Hooks

Od2.8.0
Przestarzałyn/a
apply_filters( 'edit_posts_per_page', $posts_per_page, $post_type )
Parametry: (2)
  • (int) $posts_per_page Number of posts to be displayed. Default 20.
    Wymagane: Tak
  • (string) $post_type The post type.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

$posts_per_page = apply_filters( 'edit_posts_per_page', $posts_per_page, $post_type );