Filter to customize the count of orders that will be synchronized in each step of the custom orders table to/from posts table synchronization process.
$batch_size
Sortie :
@param int Default value for the count.
// Modifier la valeur avec le filtre 'woocommerce_orders_cot_and_posts_sync_step_size'
add_filter('woocommerce_orders_cot_and_posts_sync_step_size', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($batch_size) {
// Modifier la valeur
return $batch_size;
}
Chargement des actualités...