Automattic\WooCommerce\Admin

ReportExporter::queue_next_page │ private static │ WC 1.0

Queue the next page of an export.

Method of the class: ReportExporter{}

No Hooks.

Returns

void. Nothing (null).

Usage

$result = ReportExporter::queue_next_page( $args );
$args(array) (required)
Arguments for export_report().

ReportExporter::queue_next_page() code WC 11.3.0

private static function queue_next_page( $args ) {
	// SchedulerTraits types the queue without a leading backslash, so PHPStan cannot resolve it.
	/** @var \WC_Queue_Interface $queue */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
	$queue = self::queue();
	$queue->add( (string) self::get_action( 'export_report' ), $args, (string) self::$group );
}