wp_ajax_untrash_post() – Ajax handler to restore a post from the trash.
You appear to be a bot. Output may be restricted
Description
Ajax handler to restore a post from the Trash.
Usage
wp_ajax_untrash_post( $action );
Parameters
- $action
- ( string ) required – Action to perform.
Returns
void
Source
File name: wordpress/wp-admin/includes/ajax-actions.php
Lines:
1 to 7 of 7
function wp_ajax_untrash_post( $action ) { if ( empty( $action ) ) { $action = 'untrash-post'; } wp_ajax_trash_post( $action ); }