• Resolved reidbusi

    (@reidbusi)


    I need to remove the support forum link from popupmaker, to prevent the parent and support forum menu from showing for roles who do not have permission to modify popup maker settings.

    I see this menu item is added by freemius, I could comment out the support link in popupmakers instantiation of freemius, but I would rather have something I can add to my child theme’s functions.php file so that when popup maker is updated the support menu link stays gone for all roles.

    I’m trying this but it is not working:

    /* disable popup maker support link */
    function rbs_remove_menu_pages() {
    	remove_submenu_page( 'edit.php?post_type=popup', 'edit.php?post_type=popup&page=popup-maker-wp-support-forum' );
    }
    add_action( 'admin_menu', 'rbs_remove_menu_pages', 9999 );

    Any idea on how I can achieve this?

    https://www.ads-software.com/plugins/popup-maker/

  • The topic ‘Remove Support Forum Link’ is closed to new replies.