media_library_infinite_scrolling

media_library_infinite_scrolling

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('media_library_infinite_scrolling') is found 1 times:

  • /wp-includes/media.php line 4816
    	 * @since 5.8.0
    	 *
    	 * @param bool $infinite Whether the Media Library grid has infinite scrolling.
    	 */
    	$infinite_scrolling = apply_filters( 'media_library_infinite_scrolling', false );
    
    	$settings = array(
    		'tabs'              => $tabs,
    		'tabUrl'            => add_query_arg( array( 'chromeless' => true ), admin_url( 'media-upload.php' ) ),
    		'mimeTypes'         => wp_list_pluck( get_post_mime_types(), 0 ),
    		/** This filter is documented in wp-admin/includes/media.php */