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
| Version | Description |
|---|---|
| 2.0.14 | Introduced. |
