Are you tired of scrolling through pages and pages of your WordPress media library, trying to find the one image or video you need?

Copy this code and Paste it under your theme’s functions.php file or install and Code Snippets plugin(Recommended) and paste the code there.

add_filter( 'media_library_infinite_scrolling', '__return_true' );