wp_untrash_post_comments( int|WP_Post|null $post = null )

Restore comments for a post from the trash.

11 related functions found for: wp_untrash_post_comments

Top ↑

Related terms found for this post

wp-parser-related-wordscomment, comments, post, post-php, post-typ, post-type, statu, status, trash, untrash, wp-includes, wp-untrash
wp-parser-packagePost, WordPress

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • comment
  • comments
  • post
  • Post
  • post-php
  • post-typ
  • post-type
  • statu
  • status
  • trash
  • untrash
  • wp-includes
  • wp-includes/post.php
  • wp-untrash

Top ↑

Description Description

Top ↑

Parameters Parameters


(int|WP_Post|null) (Optional) Post ID or post object. Defaults to global $post.

Default value: null

Top ↑

Return Return


Top ↑

Source Source

File: wp-includes/post.php


Top ↑

Changelog Changelog

Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.