Tribe__Events__Filterbar__View::init( string $plugin_file_path = null )
Create the plugin instance and include the other class.
Contents
Parameters
- $plugin_file_path
-
(string) (Optional) Deprecated in 4.3, path set by TRIBE_EVENTS_FILTERBAR_FILE instead.
Default value: null
Return
(void)
Source
File: src/Tribe/View.php
public static function init( $plugin_file_path = null ) {
if ( null === $plugin_file_path ) {
$plugin_file_path = TRIBE_EVENTS_FILTERBAR_FILE;
}
self::$plugin_file = $plugin_file_path;
self::$instance = self::instance();
}
Changelog
| Version | Description |
|---|---|
| 3.4 | Introduced. |