Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amboutwe/b6a6645f127fe75ccae55c7b07bb9c5f to your computer and use it in GitHub Desktop.
Save amboutwe/b6a6645f127fe75ccae55c7b07bb9c5f to your computer and use it in GitHub Desktop.
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/* Change the pagination limit for the Yoast SEO bulk editor
* Credit: https://github.com/emmelemme
* Last Tested: Aug 08 2023 using Yoast SEO 20.12 on WordPress 6.2.2
* Default = 10 items per page
*/
add_filter('wpseo_posts_per_page', function($number){
return 20;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment