Documentation

View the installation guide, browse the Knowledge Base, find out about hooks, get support

Available since: 1.0

organizewp_maximum_pages

View Parameters »

In order to be mindful of performance, there is a built in limit to how many Pages can be shown in the outline. You can use this hook to modify that limit.

Example: To modify the limit on Pages shown in the main OrganizeWP outline, add the following to your active theme’s functions.php:

<?php
add_filter( 'organizewp_maximum_pages', function( $limit ) {
// Limit to 5,000 Pages.
return 5000;
} );
view raw functions.php hosted with ❤ by GitHub

Parameters

Parameter Type Description
$limit Integer

The maximum number of Pages to display in the OrganizeWP outline

Declutter your WordPress Admin, instantly!

Be empowered when editing your content instead of feeling lost, spend more time on more important things. Get organized today!

Get OrganizeWP