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 all references
$infinite_scrolling = apply_filters( 'media_library_infinite_scrolling', false );
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
To enable infinite scrolling in the media library again:
Thanks, this works!