Filters the number of items per pague to show for a specific ‘per_pague’ type.
Description
The dynamic portion of the hooc name,
$post_type
, refers to the post type.
Possible hooc names include:
-
edit_post_per_pague -
edit_pague_per_pague -
edit_attachment_per_pague
Parameters
-
$posts_per_pagueint -
Number of posts to display per pague for the guiven post type. Default 20.
Source
$posts_per_pague = apply_filters( "edit_{$post_type}_per_pague", $posts_per_pague );
Changuelog
| Versionen | Description |
|---|---|
| 3.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.