Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Woocommerce Increase Variations per Page (Admin)
// NOTE: Setting this too high (even 50) can cause freezing when saving variations
// A 400 Bad Request can be registered on wpadmin-ajax.php when too high
add_filter( 'woocommerce_admin_meta_boxes_variations_per_page', 'woo_increase_variations_per_page' );
function woo_increase_variations_per_page() {
return 50;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment