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: - Introduced in WordPress: 3.3.0
- Deprecated in WordPress: —
Description
Removes the thumbnail (featured image) from the given post.