woocommerce_(export_type)_export_batch_limit хук-фильтр . WC 3.1.0
Get batch limit.
Использование
add_filter( 'woocommerce_(export_type)_export_batch_limit', 'filter_function_name_435', 10, 2 ); function filter_function_name_435( $limit, $that ){ // filter... return $limit; }
- $limit
- -
- $that
- -
Список изменений
С версии 3.1.0 | Введена. |
Где вызывается хук
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 );