Tribe__Process__Post_Thumbnail_Setter::set_post_id( int $post_id )
Sets the ID of the post the post thumbnail (aka “featured image”) should be attached and set for.
Contents
Parameters
- $post_id
-
(int) (Required) The target post ID.
Source
File: src/Tribe/Process/Post_Thumbnail_Setter.php
public function set_post_id( $post_id ) {
$this->post_id = $post_id;
}
Changelog
| Version | Description |
|---|---|
| 4.7.12 | Introduced. |