Automattic\WooCommerce\Internal\ProductAttributesLookup

CLIRunner::resume_regeneration_core()privateWC 1.0

Core method for the "resume_regeneration" command.

Метод класса: CLIRunner{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// private - только в коде основоного (родительского) класса
$result = $this->resume_regeneration_core( $args, $assoc_args );
$args(массив) (обязательный)
Positional arguments passed to the command.
$assoc_args(массив) (обязательный)
Associative arguments (options) passed to the command.

Код CLIRunner::resume_regeneration_core() WC 9.7.1

private function resume_regeneration_core( array $args, array $assoc_args ) {
	$this->data_regenerator->resume_regeneration( false );
	$table_name = $this->lookup_data_store->get_lookup_table_name();
	$this->success( "The regeneration of the data in the %W{$table_name}%n table has been resumed." );
}