Category: Visual Composer

  • Visual Composer: Remove Visual Composer Tab from Dashboard Menu

    Add this following code to your themes functions.php

    function custom_menu_page_removing() {
        remove_menu_page('vc-general'); //vc
    }
    add_action( 'admin_menu', 'custom_menu_page_removing' );

    This is how to find out for the next time:

    The link for Visual-Composer main page is admin.php?page=vc-general if you want to hide a link from an plugin in the admin backend, simply use everything behind the ?page= in this case it’s vc-general

    Source: http://wordpress.stackexchange.com/questions/227593/remove-visual-composer-tab-from-dashboard-menu

     

  • Visual Composer: edit google font list

    https://wpbakery.atlassian.net/wiki/display/VC/How+to+Manage+List+of+Google+Fonts

    Remove the list of fonts from
    wp-content/plugins/js_composer_theme/include/params/google_fonts
    google_fonts.php

    Or To change this list use add_filters(‘vc_google_fonts_get_fonts_filter’,’your_custom_function’); and change array
    vc_filter: vc_google_fonts_get_fonts_filter