Plugin::init()
Source
File: includes/libs/plugin.class.php
public function init(){ // register the post type $this->set_post_type(); // set the importer $this->load_importer(); // start the front-end $this->load_front_end(); new Shortcode_Factory(); $this->blocks_factory = new Blocks_Factory( $this ); new Widgets_Factory( $this ); $this->playlist_themes = new Themes( new Theme( VIMEOTHEQUE_PATH . 'themes/default/player.php', __( 'Default', 'codeflavors-vimeo-video-post-lite' ) ) ); $this->playlist_themes->register_theme( new Theme( VIMEOTHEQUE_PATH . 'themes/simple/theme.php', __( 'Simple', 'codeflavors-vimeo-video-post-lite' ) ) ); $this->playlist_themes->register_theme( new Theme( VIMEOTHEQUE_PATH . 'themes/listy/theme.php', __( 'Listy', 'codeflavors-vimeo-video-post-lite' ) ) ); // internalization load_plugin_textdomain( 'codeflavors-vimeo-video-post-lite', false, basename( dirname( VIMEOTHEQUE_FILE ) ) . '/languages/' ); }