Snippets: Switch Visual Composer 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 a child theme's functions.php file.