WordPress at Your Fingertips
filter is not described

media_library_infinite_scrolling filter-hook . WP 5.8.0

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

Usage

add_filter( 'media_library_infinite_scrolling', 'filter_function_name_2279' );
function filter_function_name_2279( $infinite ){
	// filter...

	return $infinite;
}
$infinite(true|false)
Whether the Media Library grid has infinite scrolling.

Changelog

Since 5.8.0 Introduced.

Where the hook is called

wp_enqueue_media()
media_library_infinite_scrolling
wp-includes/media.php 4366
$infinite_scrolling = apply_filters( 'media_library_infinite_scrolling', false );

Where in WP core the hook is used WordPress

Usage not found.