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



edit_{$post_type}_per_page › WordPress Filter Hooks

Da3.0.0
Deprecaton/a
› apply_filters( "edit_{$post_type}_per_page", $posts_per_page )
Parametri:
  • () posts_per_page Number of posts to display per page for the given post type. Default 20.
    Richiesto: Sì
Definito a:
Codex:

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

The dynamic portion of the hook name, `$post_type`, refers to the post type. Possible hook names include: - `edit_post_per_page` - `edit_page_per_page` - `edit_attachment_per_page`




Sorgenti

$posts_per_page = apply_filters( "edit_{$post_type}_per_page", $posts_per_page );