Automattic\WooCommerce\Internal\ProductAttributesLookup

CLIRunner::disable()publicWC 1.0

Disable the usage of the product attributes lookup table.

Метод класса: CLIRunner{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$CLIRunner = new CLIRunner();
$CLIRunner->disable( $args, $assoc_args );
$args(массив)
Positional arguments passed to the command.
По умолчанию: array()
$assoc_args(массив)
Associative arguments (options) passed to the command.
По умолчанию: array()

Код CLIRunner::disable() WC 9.7.1

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