tribe_link_post( int $target_post_id, int $subject_post_id )

Links two posts together


Parameters

$target_post_id

(int) (Required) Post ID of post to add linked post to

$subject_post_id

(int) (Required) Post ID of post to add as a linked post to the target


Top ↑

Return

(boolean)


Top ↑

Source

File: src/functions/advanced-functions/linked-posts.php

	function tribe_link_post( $target_post_id, $subject_post_id ) {
		return Tribe__Events__Linked_Posts::instance()->link_post( $target_post_id, $subject_post_id );
	}

Top ↑

Changelog

Changelog
Version Description
4.2 Introduced.