wp_trash_post Wordpress function


Description:

Moves a post or page to the Trash


Syntax:


Arguments:

(int) $post_id Post ID.


Return Type:

(mixed) False on failure


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_trash_post


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×