wp_untrash_post( int $post_id )

Restore a post or page from the Trash.


12 related functions found for: wp_untrash_post

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordspost, post-php, post-typ, post-type, statu, status, trash, untrash, wp-includes, wp-untrash
wp-parser-packagePost, WordPress
wp-parser-source-filewp-includes/post.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • 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

$post_id

(int) (Optional) Post ID. Default is ID of the global $post.


Top ↑

Return Return

(WP_Post|false) WP_Post object. False on failure.


Top ↑

Source Source

File: wp-includes/post.php


			

Top ↑

Changelog 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.