Helper::is_video()

Check single video post.


Description

Check if the current page is a single video post (post type "vimeo-video").


Return

(bool)


Source

File: includes/libs/helper.class.php

	public static function is_video(){
		return is_singular( 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!