woocommerce_product_import_batch_size хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_product_import_batch_size', 'wp_kama_woocommerce_product_import_batch_size_filter' );

/**
 * Function for `woocommerce_product_import_batch_size` filter-hook.
 * 
 * @param  $30 
 *
 * @return 
 */
function wp_kama_woocommerce_product_import_batch_size_filter( $30 ){

	// filter...
	return $30;
}
$30
-

Где вызывается хук

WC_Admin_Importers::do_ajax_product_import()
woocommerce_product_import_batch_size
woocommerce/includes/admin/class-wc-admin-importers.php 223
'lines'           => apply_filters( 'woocommerce_product_import_batch_size', 30 ),

Где используется хук в WooCommerce

Использование не найдено.