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 the Code Snippets Plugin (or alternative plugin)
Back To Top