Languages:
English •
日本語
(Add your language)
Description
Delete the post thumbnail.
Usage
<?php delete_post_thumbnail( $post ); ?>
Parameters
- $post
- (int|object) (required) Post ID or object where thumbnail should be deleted.
- Default: None
Return Values
- (boolean)
- False for failure. True for success.
Change Log
Source File
delete_post_thumbnail() is located in wp-includes/post.php
.
Related
set_post_thumbnail()