Automattic\WooCommerce\Internal\Admin\BlockTemplates
AbstractBlock::remove_disable_condition()
Remove a disable condition from the block.
Метод класса: AbstractBlock{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$AbstractBlock = new AbstractBlock(); $AbstractBlock->remove_disable_condition( $key );
- $key(строка) (обязательный)
- The key of the disable condition to remove.
Код AbstractBlock::remove_disable_condition() AbstractBlock::remove disable condition WC 9.7.1
public function remove_disable_condition( string $key ) { unset( $this->disable_conditions[ $key ] ); }