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();
}
}
);
}
