woocommerce_(export_type)_export_batch_limit filter-hookWC 3.1.0

Get batch limit.

Usage

add_filter( 'woocommerce_(export_type)_export_batch_limit', 'wp_kama_woocommerce_export_type_batch_limit_filter', 10, 2 );

/**
 * Function for `woocommerce_(export_type)_export_batch_limit` filter-hook.
 * 
 * @param  $limit 
 * @param  $that  
 *
 * @return 
 */
function wp_kama_woocommerce_export_type_batch_limit_filter( $limit, $that ){

	// filter...
	return $limit;
}
$limit
-
$that
-

Changelog

Since 3.1.0 Introduced.

Where the hook is called

WC_CSV_Exporter::get_limit()
woocommerce_(export_type)_export_batch_limit
woocommerce/includes/export/abstract-wc-csv-exporter.php 331
return apply_filters( "woocommerce_{$this->export_type}_export_batch_limit", $this->limit, $this );

Where the hook is used in WooCommerce

Usage not found.