Tribe__Process__Post_Thumbnail_Setter::set_post_thumbnail( int|string $post_thumbnail )
Sets the post thumbnail ID or source the process should set.
Contents
Parameters
- $post_thumbnail
-
(int|string) (Required) Either an attachment ID or the full URL, or path, to the post thumbnail image.
Source
File: src/Tribe/Process/Post_Thumbnail_Setter.php
public function set_post_thumbnail( $post_thumbnail ) {
$this->post_thumbnail = $post_thumbnail;
}
Changelog
| Version | Description |
|---|---|
| 4.7.12 | Introduced. |