Automattic\WooCommerce\Internal\ProductAttributesLookup
CLIRunner::cleanup_regeneration_progress_core()
Core method for the "cleanup_regeneration_progress" command.
Method of the class: CLIRunner{}
No Hooks.
Return
null
. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->cleanup_regeneration_progress_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::cleanup_regeneration_progress_core() CLIRunner::cleanup regeneration progress core code WC 9.3.3
private function cleanup_regeneration_progress_core( array $args, array $assoc_args ) { $this->data_regenerator->finalize_regeneration( false ); $table_name = $this->lookup_data_store->get_lookup_table_name(); $this->success( "The temporary data used for regeneration of the data in the %W{$table_name}%n table has been deleted." ); }