Hooks::register()
Binds and sets up implementations.
Source
File: src/Tribe/Views/V2/Customizer/Hooks.php
public function register() {
// Register the Views V2 Customizer controls assets.
tribe_asset(
TEC::instance(),
'tribe-customizer-views-v2-controls',
'customizer-views-v2-controls.css'
);
tribe_asset(
TEC::instance(),
'tribe-customizer-views-v2-controls-js',
'customizer-views-v2-controls.js'
);
/* @todo: this will be part of the next Customizer release.
tribe_asset(
TEC::instance(),
'tribe-customizer-views-v2-live-preview-js',
'customizer-views-v2-live-preview.js',
[],
'customize_preview_init',
[
'localize' => [
'name' => 'tribe_events_customizer_live_preview_js_config',
'data' => [ $this->container->make( Configuration::class ), 'localize' ],
],
]
);
*/
$this->add_actions();
$this->add_filters();
}
Changelog
| Version | Description |
|---|---|
| 5.7.0 | Introduced. |