Monday, May 29, 2023

WordPress Knowledge Base
< All Topics

How to restore infinite scrolling back to the Media Library, in place of “Load More” in WordPress 5.8

Adding the following line to my child theme’s functions.php worked for me:

add_filter( 'media_library_infinite_scrolling', '__return_true' );

I obtained this solution from the following url

Table of Contents