Templates_Init::__construct()

Constructor


Description

Check for theme support and if found initialize the templates.


Source

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

	public function __construct(){
		add_action(
			'after_setup_theme',
			function(){
				if( current_theme_supports( 'vimeotheque' ) ){
					$this->init();
				}
			}
		);
	}

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!