Automattic\WooCommerce\Internal\ProductAttributesLookup
CLIRunner::cleanup_regeneration_progress_core()
Core method for the "cleanup_regeneration_progress" command.
Метод класса: CLIRunner{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->cleanup_regeneration_progress_core( $args, $assoc_args );
- $args(массив) (обязательный)
- Positional arguments passed to the command.
- $assoc_args(массив) (обязательный)
- Associative arguments (options) passed to the command.
Код CLIRunner::cleanup_regeneration_progress_core() CLIRunner::cleanup regeneration progress core WC 9.7.1
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." ); }