wp_customize_manager-is_preview

method