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