tribe_unlink_post( int $target_post_id, int $subject_post_id )
Unlinks two posts from eachother
Contents
Parameters
- $target_post_id
-
(int) (Required) Post ID of post to remove linked post from
- $subject_post_id
-
(int) (Required) Post ID of post to remove as a linked post from the target
Source
File: src/functions/advanced-functions/linked-posts.php
function tribe_unlink_post( $target_post_id, $subject_post_id ) { return Tribe__Events__Linked_Posts::instance()->unlink_post( $target_post_id, $subject_post_id ); }
Changelog
Version | Description |
---|---|
4.2 | Introduced. |