delete_post_thumbnail


delete_post_thumbnail ( $post )

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

Description

Removes the thumbnail (featured image) from the given post.

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