Merge pull request #18203 from AdamQuadmon/wc-exporter-limit-filter
Add WC Product CSV Exporter limit filter
This commit is contained in:
commit
068418124e
|
@ -296,7 +296,7 @@ abstract class WC_CSV_Exporter {
|
|||
* @return int
|
||||
*/
|
||||
public function get_limit() {
|
||||
return $this->limit;
|
||||
return apply_filters( "woocommerce_{$this->export_type}_export_batch_limit", $this->limit, $this );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue