Automattic\WooCommerce\Internal\ProductAttributesLookup

CLIRunner::cleanup_regeneration_progress()publicWC 1.0

Delete the temporary data used during the regeneration of the product attributes lookup table. This data is normally deleted automatically after the regeneration process finishes.

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

Хуков нет.

Возвращает

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

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

$CLIRunner = new CLIRunner();
$CLIRunner->cleanup_regeneration_progress( $args, $assoc_args );
$args(массив)
Positional arguments passed to the command.
По умолчанию: array()
$assoc_args(массив)
Associative arguments (options) passed to the command.
По умолчанию: array()

Код CLIRunner::cleanup_regeneration_progress() WC 9.7.1

public function cleanup_regeneration_progress( array $args = array(), array $assoc_args = array() ) {
	return $this->invoke( 'cleanup_regeneration_progress_core', $args, $assoc_args );
}