vimeotheque_get_next_post( bool $in_same_term = false, int[]|string $excluded_terms = '' )

Retrieves the next video post.


Will get the next post.



(Optional) Whether post should be in a same taxonomy term.

Default value: false


(Optional) Array or comma-separated list of excluded term IDs.

Default value: ''


(\WP_Post|null|string) Post object if successful. Null if global $post is not set. Empty string if no corresponding post exists.


File: includes/libs/templates/functions.php

function vimeotheque_get_next_post(  $in_same_term = false, $excluded_terms = '' ){
	return Helper::get_adjacent_post( $in_same_term, $excluded_terms, false );

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!