delete_post_thumbnail


delete_post_thumbnail ( $post )

Parameters:
  • (int|WP_Post) $post Post ID or post object where thumbnail should be removed from.
Returns:
  • (bool) True on success, false on failure.
Defined at:

Description

Remove a post thumbnail.

Related Functions

set_post_thumbnail, the_post_thumbnail, get_the_post_thumbnail, get_post_thumbnail_id, the_post_thumbnail_url

Top Google Results

User discussions

wpseek mobile