wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



edit_posts_per_page › Les Filtres WordPress

Depuis2.8.0
Dépréciéen/a
apply_filters( 'edit_posts_per_page', $posts_per_page, $post_type )
Paramètres: (2)
  • (int) $posts_per_page Number of posts to be displayed. Default 20.
    Requis: Oui
  • (string) $post_type The post type.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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