skip to Main Content

Switch the WPBakery Front End Editor HTTPS Protocol

function change_frontend_editor_iframe_url($url) {
    return str_replace("http://", "https://", $url);
}
add_filter('vc_frontend_editor_iframe_url', 'change_frontend_editor_iframe_url');
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top