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

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