Automattic\WooCommerce\Internal\ProductAttributesLookup
CLIRunner::resume_regeneration_core
Core method for the "resume_regeneration" command.
Method of the class: CLIRunner{}
No Hooks.
Returns
null
. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->resume_regeneration_core( $args, $assoc_args );
- $args(array) (required)
- Positional arguments passed to the command.
- $assoc_args(array) (required)
- Associative arguments (options) passed to the command.
CLIRunner::resume_regeneration_core() CLIRunner::resume regeneration core code WC 9.9.3
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." ); }