wp_trash_post_comments


wp_trash_post_comments ( $post = null )

Parameters:
  • (int|WP_Post|null) post Optional. Post ID or post object. Defaults to global $post.
Returns:
  • (mixed|void) False on failure.
Defined at:

Description

Moves comments for a post to the Trash.

Related Functions

wp_untrash_post_comments, wp_trash_comment, wp_untrash_comment, wp_list_comments, wp_trash_post

Top Google Results

User discussions

wpseek mobile