Created
October 10, 2017 19:45
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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