wp_save_post_revision Wordpress function


Description:

Saves an already existing post as a post revision.


Syntax:


Arguments:

(int) $post_id The ID of the post to save as a revision.


Return Type:

(mixed) Null or 0 if error, new revision ID, if success.


Define At:

wp-includes/post.php


Wordpress Reference URL:

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


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