wordpress - wp_get_post_revisions gives result on new post too -


i want revisions of post in wordpress using

wp_get_post_revisions( $post_id, $args ); 

this function show last review same actual version of post. means - there no revisions - function show one.

how show real revisins ans skip last one? maybe should add in $args ?


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

minify - Minimizing css files -

Connecting Spring Batch to Remote Cassandra Database -