Tribe__Image__Plus__Main::__construct()
Initialize the widget and much of the plugin in general.
Source
File: src/Tribe/Main.php
public function __construct() {
$this->plugin_path = trailingslashit( IMAGE_WIDGET_PLUS_DIR );
$this->plugin_dir = trailingslashit( basename( $this->plugin_path ) );
$this->plugin_url = trailingslashit( plugins_url( $this->plugin_dir ) );
$this->plugin_slug = 'image-widget-plus';
// let's initialize after TEC and ET to prevent common conflicts
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ), 1 );
}
Changelog
| Version | Description |
|---|---|
| 1.0 | Introduced. |