Automattic\WooCommerce\Internal\ProductAttributesLookup

CLIRunner::abort_regenerationpublicWC 1.0

Abort the background regeneration of the product attributes lookup table that is happening in the background.

[--cleanup]
Also cleanup temporary data (so regeneration can't be resumed, but it can be restarted).

EXAMPLES

wp wc palt abort_regeneration --cleanup

Method of the class: CLIRunner{}

No Hooks.

Returns

null. Nothing (null).

Usage

$CLIRunner = new CLIRunner();
$CLIRunner->abort_regeneration( $args, $assoc_args );
$args(array)
Positional arguments passed to the command.
Default: array()
$assoc_args(array)
Associative arguments (options) passed to the command.
Default: array()

CLIRunner::abort_regeneration() code WC 10.3.3

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