_set_preview


_set_preview ( $post )

Access:
  • private
Parameters:
  • (WP_Post) $post
Returns:
  • (WP_Post|false)
Defined at:

Description

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

Related Functions

post_preview, is_preview, _show_post_preview, wp_post_preview_js, is_customize_preview

Top Google Results

User discussions

wpseek mobile