Filters whether the Media Library grid has infinite scrolling. Default false
.
Parameters
$infinite
bool- Whether the Media Library grid has infinite scrolling.
Source
if ( ! empty( $media_states ) ) {
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
To enable infinite scrolling in the media library again:
Thanks, this works!