Automattic\WooCommerce\Internal\ProductAttributesLookup
CLIRunner::abort_regeneration()
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
Метод класса: CLIRunner{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$CLIRunner = new CLIRunner(); $CLIRunner->abort_regeneration( $args, $assoc_args );
- $args(массив)
- Positional arguments passed to the command.
По умолчанию: array() - $assoc_args(массив)
- Associative arguments (options) passed to the command.
По умолчанию: array()
Код CLIRunner::abort_regeneration() CLIRunner::abort regeneration WC 9.7.1
public function abort_regeneration( array $args = array(), array $assoc_args = array() ) { return $this->invoke( 'abort_regeneration_core', $args, $assoc_args ); }