W3cubDocs

/WordPress

apply_filters( 'upload_per_page', int $media_per_page )

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

Parameters

$media_per_page

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

Source

File: wp-admin/includes/post.php

View on Trac

Changelog

Version Description
2.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/upload_per_page