• A hook to define whether we want this only on specific taxonomies would be a luxury.

    A hook to remove the admin_notices action. The way the class has been made you can’t seem to get remove_action to work. We didn’t want the admin_notice to appear to all of our multisite users on every page. Also hitting the database to check if the notice should appear every admin pageload kinda sucks.

Viewing 1 replies (of 1 total)
  • Plugin Author E.

    (@pyro3x)

    Hi @thatstevensguy,

    Now you can remove the admin_notices action. You can use this example:

    function my_admin_init() 
    {
        if (function_exists('wpci_instance')) {
            remove_action('admin_notices', array(wpci_instance(), 'show_admin_notice'));
        }
    }
    
    add_action('admin_init', 'my_admin_init');

    About the specific taxonomies, I’ll add in the next version.

    Thank you for your suggestions.

    Eduardo

Viewing 1 replies (of 1 total)
  • The topic ‘Other suggestions.’ is closed to new replies.