apply_filters( 'upload_per_page', int $media_per_page )

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


Parameters Parameters

$media_per_page

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


Top ↑

Source Source

File: wp-admin/includes/post.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.