Tribe__Events__Editor__Blocks__Event_Organizer::assets()
Register the Assets for when this block is active
Return
(void)
Source
File: src/Tribe/Editor/Blocks/Event_Organizer.php
public function assets() {
tribe_asset(
tribe( 'tec.main' ),
'tribe-events-block-' . $this->slug(),
'app/' . $this->slug() . '/frontend.css',
array(),
'wp_enqueue_scripts',
array(
'conditionals' => array( $this, 'has_block' ),
)
);
}
Changelog
| Version | Description |
|---|---|
| 4.7 | Introduced. |