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.


Parameters

$post_id

(int) (Required) The target post ID.


Top ↑

Source

File: src/Tribe/Process/Post_Thumbnail_Setter.php

	public function set_post_id( $post_id ) {
		$this->post_id = $post_id;
	}

Top ↑

Changelog

Changelog
Version Description
4.7.12 Introduced.