WordPress at Your Fingertips
function is not described

wp_ajax_untrash_post() WP 3.1.0

Ajax handler to restore a post from the Trash.

No Hooks.

Return

null. Nothing.

Usage

wp_ajax_untrash_post( $action );
$action(string) (required)
Action to perform.

Changelog

Since 3.1.0 Introduced.

Code of wp_ajax_untrash_post() WP 5.8.2

function wp_ajax_untrash_post( $action ) {
	if ( empty( $action ) ) {
		$action = 'untrash-post';
	}

	wp_ajax_trash_post( $action );
}