Automattic\WooCommerce\Internal\Admin\BlockTemplates
AbstractBlock::remove_disable_condition
Remove a disable condition from the block.
Method of the class: AbstractBlock{}
No Hooks.
Returns
null. Nothing (null).
Usage
$AbstractBlock = new AbstractBlock(); $AbstractBlock->remove_disable_condition( $key );
- $key(string) (required)
- The key of the disable condition to remove.
AbstractBlock::remove_disable_condition() AbstractBlock::remove disable condition code WC 10.8.1
public function remove_disable_condition( string $key ) {
unset( $this->disable_conditions[ $key ] );
}