WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Internal\ProductAttributesLookup

DataRegenerator::enqueue_regeneration_step_run() private WC 1.0

Enqueue one regeneration step in action scheduler.

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

No Hooks.

Return

null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->enqueue_regeneration_step_run();

Code of DataRegenerator::enqueue_regeneration_step_run() WC 5.9.0

private function enqueue_regeneration_step_run() {
	$queue = WC()->get_instance_of( \WC_Queue::class );
	$queue->schedule_single(
		WC()->call_function( 'time' ) + 1,
		'woocommerce_run_product_attribute_lookup_regeneration_callback',
		array(),
		'woocommerce-db-updates'
	);
}