Automattic\WooCommerce\Internal\ProductAttributesLookup
CLIRunner::enable()
Enable the usage of the product attributes lookup table.
Метод класса: CLIRunner{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$CLIRunner = new CLIRunner(); $CLIRunner->enable( $args, $assoc_args );
- $args(массив)
- Positional arguments passed to the command.
По умолчанию: array() - $assoc_args(массив)
- Associative arguments (options) passed to the command.
По умолчанию: array()
Код CLIRunner::enable() CLIRunner::enable WC 9.7.1
public function enable( array $args = array(), array $assoc_args = array() ) { return $this->invoke( 'enable_core', $args, $assoc_args ); }