Support » Plugin: Nav Menu Roles » How to remove conflict notice?

  • Resolved rooivalk

    (@rooivalk)


    Hi, I managed to solve conflict with my custom walker with your FAQ. It works normal but it’s still showing ‘Nav Menu Roles has detected a possible conflict bla bla…’.

    Is it real conflict or just precaution notice?

    if it’s just precaution, how to remove the notice without modifying your plugin files or surpressing global notice? You know so it won’t be overwritten when your plugin is updated. Is it possible?

    Thanks!

    https://wordpress.org/plugins/nav-menu-roles/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author helgatheviking

    (@helgatheviking)

    There should be a link in the notice that says “Hide Notice”. If you click on that it will hide the notice for the user.

    If you want to remove it permanently for every user, something like:

    add_action( 'admin_init', 'nmr_remove_notice' );
    function nmr_remove_notice(){
    	remove_action( 'admin_notices', array( Nav_Menu_Roles(), 'admin_notice' ) );
    }

    should work. NB: untested so be wary of typos.

    Sorry I forgot to reply.

    It works. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove conflict notice?’ is closed to new replies.