WordPress at Your Fingertips
function is not described

WC_CSV_Exporter::set_limit() public WC 3.1.0

Set batch limit.

{} It's a method of the class: WC_CSV_Exporter{}

No Hooks.

Return

null. Nothing.

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.

Code of WC_CSV_Exporter::set_limit() WC 5.9.0

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