WPDev.one
Core Function
View Source on Trac ↗

_set_preview()

_set_preview( mixed $post )

Sets up the post object for preview based on the post autosave.

Parameters 1 required

Name / Type Description
WP_Post

$post

Required

Return Value

((WP_Post)
| false)

Function Information

Since Version
2.7.0
Source File
wp-includes/revision.php
Advertisement