Helper::get_post_permalink( bool $echo = true )


Parameters

$echo

(Optional)

Default value: true


Return

(bool|false|string|void|\WP_Error)


Source

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

	public static function get_post_permalink( $echo  = true ){
		$video = self::current_video_post();
		if( !$video ){
			return;
		}

		$pl = get_permalink( $video->get_post()->ID );
		if( $echo ){
			echo $pl;
		}
		return $pl;
	}

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!