This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Templates_Init::init()

Initializes the entire functionality.


Return

(void)


Source

File: includes/libs/templates/templates-init.class.php

	private function init(){
		$this->initialize();

		if( !is_admin() ){
			$this->template_loader = new Template_Loader();
			new Frontend_Scripts();
			new Single_Video();
		}

		add_filter(
			'vimeotheque\post_content_embed',
			function(){
				$post = get_post();
				return $post->post_type != Plugin::instance()->get_cpt()->get_post_type();
			}
		);
	}

Start your video site now!

Manage and coordinate your Vimeo channels, albums or videos with your WordPress website. Perfect fit for membership, portfolio, online courses or any type of video collection.

Get Vimeotheque PRO!