apply_filters( "{$option}", int $per_page )

Filters the number of items to be displayed on each page of the list table.


Description Description

The dynamic hook name, $option, refers to the per_page option depending on the type of list table in use. Possible values include: ‘edit_comments_per_page’, ‘sites_network_per_page’, ‘site_themes_network_per_page’, ‘themes_network_per_page’, ‘users_network_per_page’, ‘edit_post_per_page’, ‘edit_page_per_page’, ‘edit_{$post_type}_per_page’, etc.


Top ↑

Parameters Parameters

$per_page

(int) Number of items to be displayed. Default 20.


Top ↑

Source Source

File: wp-admin/includes/class-wp-list-table.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.