wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



edit_posts_per_page › WordPress Filter Hooks

Da2.8.0
Deprecaton/a
apply_filters( 'edit_posts_per_page', $posts_per_page, $post_type )
Parametri: (2)
  • (int) $posts_per_page Number of posts to be displayed. Default 20.
    Richiesto:
  • (string) $post_type The post type.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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