Core Function
View Source on Trac ↗ post_preview()
post_preview( ) Saves a draft or manually autosaves for the purpose of showing a post preview.
Return Value
(string)
URL to redirect to show the preview.
Function Information
Since Version
2.7.0
Source File
wp-admin/includes/post.php
Advertisement