Hooks::filter_register_template_updates( array $plugins = array() )
Registers The Events Calendar with the views/overrides update checker.
Contents
Parameters
- $plugins
-
(array) (Optional) List of plugins to be checked.
Default value: array()
Return
(array)
Source
File: src/Tribe/Views/V2/Hooks.php
public function filter_register_template_updates( array $plugins = [] ) {
$plugins[ __( 'The Events Calendar - View V2', 'the-events-calendar' ) ] = [
TEC::VERSION,
TEC::instance()->pluginPath . 'src/views/v2',
trailingslashit( get_stylesheet_directory() ) . 'tribe/events',
];
return $plugins;
}
Changelog
| Version | Description |
|---|---|
| 4.9.13 | Introduced. |