Helper::current_video_post()

Get the current video in loop


Return

(\Vimeotheque\Video_Post)


Source

File: includes/libs/themes/helper.class.php

	public static function current_video_post(){
		global $cvm_video;

		if( !$cvm_video ){
			_doing_it_wrong(__METHOD__, 'You should use this into a foreach() loop. Correct usage is: <br />foreach( $videos as $cvm_video ){ '.__METHOD__.'(); } ', '3.0');
			return false;
		}

		return $cvm_video;
	}


Changelog

Changelog
Version Description
2.0.14 Introduced.

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!