untrashed_post, $post_id, $previous_status

untrashed_post, $post_id, $previous_status

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('untrashed_post, $post_id, $previous_status') is found 1 times:

  • /wp-includes/post.php line 4175
    	 *
    	 * @param int    $post_id         Post ID.
    	 * @param string $previous_status The status of the post at the point where it was trashed.
    	 */
    	do_action( 'untrashed_post', $post_id, $previous_status );
    
    	return $post;
    }
    
    /**
     * Moves comments for a post to the Trash.