upload_per_page

Advertisement

Summery Summery

Filters the number of items to list per page when listing media items.

Syntax Syntax

apply_filters( 'upload_per_page', int $media_per_page )

Parameters Parameters

$media_per_page

(int) Number of media to list. Default 20.

Source Source

File: wp-admin/includes/post.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.