Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 427 Bytes

update-pagination.md

File metadata and controls

22 lines (17 loc) · 427 Bytes

update-pagination

Description

Update WordPress admin area posts per page for default post types.

Usage

Supports single instance.

intervention('update-pagination', $amount(integer));

Defaults

$amount: 40

Examples

intervention('update-pagination');
// Updates to 40 posts per page. (WordPress default is 20)

intervention('update-pagination', 100);
// Updates to 100 posts per page.