wp_post_preview_js


wp_post_preview_js ( No parameters )

Defined at:

Description

Outputs a small JS snippet on preview tabs/windows to remove `window.name` on unload.

This prevents reusing the same tab for a preview when the user has navigated away.

Related Functions

post_preview, _show_post_preview, _set_preview, wp_is_post_revision, wp_get_post_revision

Top Google Results

User discussions

wpseek mobile