Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save luizbills/4421e80fd0bc79ee264f2738bc6d1ac3 to your computer and use it in GitHub Desktop.
Save luizbills/4421e80fd0bc79ee264f2738bc6d1ac3 to your computer and use it in GitHub Desktop.
Mudar o número de variações que são mostradas no admin
<?php
add_filter( 'woocommerce_admin_meta_boxes_variations_per_page', 'lpb_woocommerce_admin_meta_boxes_variations_per_page' );
function lpb_woocommerce_admin_meta_boxes_variations_per_page ( $per_page ) {
return 12; // change this value
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment