WooCommerce: Change variation per page in backend.

<?php 

// Change variation per page
function filter_woocommerce_admin_meta_boxes_variations_per_page( $int ) { 
  
$int = '10';
$number = (int)$begin;	
    return $int; 
}; 
         
// add filter change variation per page
add_filter( 'woocommerce_admin_meta_boxes_variations_per_page', 'filter_woocommerce_admin_meta_boxes_variations_per_page', 10, 1 ); 

?>

Leave a Reply

avatar
  Subscribe  
Notify of