Function: is_customize_preview

is_customize_preview( )

Whether the site is being previewed in the Customizer.

Shortcut: icp

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.



True if the site is being previewed in the Customizer, false otherwise.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.