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');
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');