Automattic\WooCommerce\Blocks\BlockTypes
AtomicBlock{}└─ AbstractBlock
AtomicBlock class.
No Hooks.
Usage
$AtomicBlock = new AtomicBlock(); // use class methods
Methods
- protected get_block_type_editor_script( $key = null )
- protected get_block_type_editor_style()
- protected get_block_type_script( $key = null )
- protected get_block_type_style()
AtomicBlock{} AtomicBlock{} code WC 10.6.2
class AtomicBlock extends AbstractBlock {
/**
* Get the editor script data for this block type.
*
* @param string $key Data to get, or default to everything.
* @return null
*/
protected function get_block_type_editor_script( $key = null ) {
return null;
}
/**
* Get the editor style handle for this block type.
*
* @return null
*/
protected function get_block_type_editor_style() {
return null;
}
/**
* Get the frontend script handle for this block type.
*
* @param string $key Data to get, or default to everything.
* @return null
*/
protected function get_block_type_script( $key = null ) {
return null;
}
/**
* Get the frontend style handle for this block type.
*
* @return null
*/
protected function get_block_type_style() {
return null;
}
}