apply_filters( 'media_library_infinite_scrolling', bool $infinite )

Filters whether the Media Library grid has infinite scrolling. Default false.

Parameters

$infinite

(bool) Whether the Media Library grid has infinite scrolling.

Source

File: wp-includes/media.php

View on Trac

Changelog

Version Description
5.8.0 Introduced.

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