edit_categories_per_page WordPress Filter Hook

The edit_categories_per_page hook allows you to change how many categories are displayed on the "Categories" page in the Wordpress admin. This can be useful if you want to increase or decrease the number of categories that are shown on this page.

apply_filters( 'edit_categories_per_page', int $tags_per_page ) #

Filters the number of terms displayed per page for the Categories list table.


Parameters

$tags_per_page

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


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.