WC_CSV_Exporter::set_limit()publicWC 3.1.0

Set batch limit.

Method of the class: WC_CSV_Exporter{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_CSV_Exporter = new WC_CSV_Exporter();
$WC_CSV_Exporter->set_limit( $limit );
$limit(int) (required)
Limit to export.

Changelog

Since 3.1.0 Introduced.

WC_CSV_Exporter::set_limit() code WC 8.6.1

public function set_limit( $limit ) {
	$this->limit = absint( $limit );
}