Merge pull request #18203 from AdamQuadmon/wc-exporter-limit-filter

Add WC Product CSV Exporter limit filter
This commit is contained in:
Claudio Sanches 2017-12-19 15:42:38 -02:00 committed by GitHub
commit 068418124e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
/**