trashed_post
Like this: Like Loading...
Appears in:
wordpress-4.0 ,
wordpress-4.4 ,
wordpress-4.8 ,
wordpress-4.9 ,
wordpress-4.9.4 ,
wordpress-4.9.5 ,
wordpress-4.9.6 ,
wordpress-4.9.7 ,
wordpress-4.9.8 ,
wordpress-5.0 ,
wordpress-5.0.1 ,
wordpress-5.0.2 ,
wordpress-5.0.3 ,
wordpress-5.1 ,
wordpress-5.1.1 ,
wordpress-5.2 ,
wordpress-5.2.1 ,
wordpress-5.2.2 ,
wordpress-5.2.3 ,
wordpress-5.2.4 ,
wordpress-5.3 ,
wordpress-5.3.1 ,
wordpress-5.3.2 ,
wordpress-5.4 ,
wordpress-5.4.1 ,
wordpress-5.4.2 ,
wordpress-5.5 ,
wordpress-5.5.1 ,
wordpress-5.5.2 ,
wordpress-5.5.3 ,
wordpress-5.6 ,
wordpress-5.6.1 ,
wordpress-5.6.2 ,
wordpress-5.7 ,
wordpress-5.7.1 ,
wordpress-5.7.2 ,
wordpress-5.8 ,
wordpress-5.8.1 ,
wordpress-5.8.2 ,
wordpress-5.8.3 ,
wordpress-5.9 ,
wordpress-5.9.1 ,
wordpress-5.9.2 ,
wordpress-5.9.3 ,
wordpress-6.0 ,
wordpress-6.0.1 ,
wordpress-6.0.2 ,
wordpress-6.0.3 ,
wordpress-6.1 ,
wordpress-6.1.1 ,
wordpress-6.2 ,
wordpress-6.2.1 ,
wordpress-6.2.2 ,
wordpress-6.3 ,
wordpress-6.3.1 ,
wordpress-6.3.2 ,
wordpress-6.4 ,
wordpress-6.4.1 ,
wordpress-6.4.2 ,
wordpress-6.4.3 ,
wordpress-6.5 ,
wordpress-6.5.2 ,
wordpress-6.5.3 ,
wordpress-6.5.4 ,
wordpress-6.5.5 ,
wordpress-6.6 ,
wordpress-6.6.1 ,
wordpress-6.6.2 Hook Type: action
See hook in action
Displaying hooks found in version: wordpress-6.6.2
do_action('trashed_post') is found 2 times: /wp-includes/class-wp-customize-manager.php line 3128
wp_trash_post_comments( $post_id );
/** This action is documented in wp-includes/post.php */
do_action( 'trashed_post', $post_id, $previous_status );
return $post;
}
/**
* Handles request to trash a changeset.
Like this: Like Loading...
/wp-includes/post.php line 3784 *
* @param int $post_id Post ID.
* @param string $previous_status The status of the post at the point where it was trashed.
*/
do_action( 'trashed_post', $post_id, $previous_status );
return $post;
}
/**
* Restores a post from the Trash.
Like this: Like Loading...
See this hook used in plugins: Select Plugin bbpress.2.5.14 bbpress.2.6.0 bbpress.2.6.1 bbpress.2.6.2 bbpress.2.6.3 bbpress.2.6.4 bbpress.2.6.5 bbpress.2.6.6 bbpress.2.6.9 bbpress.2.6.11 advanced-custom-fields.5.7.6 advanced-custom-fields.5.7.7 advanced-custom-fields.5.7.8 advanced-custom-fields.5.7.9 advanced-custom-fields.5.7.10 advanced-custom-fields.5.7.12 advanced-custom-fields.5.8.0 advanced-custom-fields.5.8.1 advanced-custom-fields.5.8.2 advanced-custom-fields.5.8.3 advanced-custom-fields.5.8.5 advanced-custom-fields.5.8.7 advanced-custom-fields.5.8.8 advanced-custom-fields.5.8.9 advanced-custom-fields.5.8.11 advanced-custom-fields.5.8.12 advanced-custom-fields.5.8.13 advanced-custom-fields.5.8.14 advanced-custom-fields.5.9.0 advanced-custom-fields.5.9.1 advanced-custom-fields.5.9.3 advanced-custom-fields.5.9.4 advanced-custom-fields.5.9.5 advanced-custom-fields.5.9.6 advanced-custom-fields.5.9.7 advanced-custom-fields.5.9.8 advanced-custom-fields.5.9.9 advanced-custom-fields.5.10 advanced-custom-fields.5.10.1 advanced-custom-fields.5.10.2 advanced-custom-fields.5.12 advanced-custom-fields.5.12.1 advanced-custom-fields.5.12.2 advanced-custom-fields.5.12.3 advanced-custom-fields.6.0.2 advanced-custom-fields.6.0.3 advanced-custom-fields.6.0.4 advanced-custom-fields.6.0.5 advanced-custom-fields.6.0.6 advanced-custom-fields.6.0.7 advanced-custom-fields.6.1.4 advanced-custom-fields.6.1.6 advanced-custom-fields.6.1.7 advanced-custom-fields.6.2.0 advanced-custom-fields.6.2.2 advanced-custom-fields.6.2.3 advanced-custom-fields.6.2.4 advanced-custom-fields.6.2.6.1 advanced-custom-fields.6.2.7 advanced-custom-fields.6.2.9 advanced-custom-fields.6.3.1 advanced-custom-fields.6.3.2 advanced-custom-fields.6.3.3 advanced-custom-fields.6.3.5 advanced-custom-fields.6.3.6 advanced-custom-fields.6.3.6.3 wp-nested-pages.3.0.11 atum-stock-manager-for-woocommerce.1.7.0 mycred.1.8.9 learnpress.3.2.6.10 woocommerce.4.1.0 woocommerce.4.1.1 woocommerce.4.2.0 woocommerce.4.2.1 woocommerce.4.3.0 woocommerce.4.3.1 woocommerce.4.3.2 woocommerce.4.3.3 woocommerce.4.4.0 woocommerce.4.4.1 woocommerce.4.5.1 woocommerce.4.5.2 woocommerce.4.6.0 woocommerce.4.6.1 woocommerce.4.6.2 woocommerce.4.7.0 woocommerce.4.7.1 woocommerce.4.8.0 woocommerce.4.9.0 woocommerce.4.9.1 woocommerce.4.9.2 woocommerce.5.0.0 woocommerce.5.1.0 woocommerce.5.2.0 woocommerce.5.2.1 woocommerce.5.2.2 woocommerce.5.3.0 woocommerce.5.4.0 woocommerce.5.4.1 woocommerce.5.5.0 woocommerce.5.5.1 woocommerce.5.5.2 woocommerce.5.6.0 woocommerce.5.6.1 woocommerce.5.7.0 woocommerce.5.7.1 woocommerce.5.8.0 woocommerce.6.3.1 woocommerce.6.4.1 woocommerce.6.5.1 woocommerce.6.6.1 woocommerce.6.7.0 woocommerce.6.8.0 woocommerce.6.8.1 woocommerce.6.8.2 woocommerce.6.9.0 woocommerce.6.9.4 woocommerce.7.0.0 woocommerce.7.1.0 woocommerce.7.1.1 woocommerce.7.2.2 woocommerce.7.3.0 woocommerce.7.4.0 woocommerce.7.4.1 woocommerce.7.5.1 woocommerce.7.6.0 woocommerce.7.6.1 woocommerce.7.7.0 woocommerce.7.7.1 woocommerce.7.8.1 woocommerce.7.9.0 woocommerce.8.0.2 woocommerce.8.0.3 woocommerce.8.1.1 woocommerce.8.2.1 woocommerce.8.2.2 woocommerce.8.3.1 woocommerce.8.4.0 woocommerce.8.5.1 woocommerce.8.5.2 woocommerce.8.6.0 woocommerce.8.6.1 woocommerce.8.7.0 woocommerce.8.8.3 woocommerce.8.9.2 woocommerce.8.9.3 woocommerce.9.0.2 woocommerce.9.1.2 woocommerce.9.1.4 woocommerce.9.2.2 woocommerce.9.2.3 woocommerce.9.3.1 woocommerce.9.3.3