• Hello,
    I have this alert for “no admin user”

    Sorry, but you do not have the correct permissions to update the Page Builder by SiteOrigin plugin. Please contact the administrator of this site for help.

    can I hide or remove it?
    I tested this code

    
    if (!current_user_can('manage_options')) {
        function hide_update_notice()
        {
            remove_action('admin_notices', 'update_nag', 3);
        }
        add_action('admin_notices', 'hide_update_notice', 1);
    }
    

    but it doens’t work.

    Can you help me?

    • This topic was modified 7 years, 7 months ago by Odyno.
    • This topic was modified 7 years, 7 months ago by Odyno.
  • The topic ‘Hide update alert for no admin user’ is closed to new replies.