Support » Plugin: Maintenance » AdminBar persist when maintenance plugin is activated

  • Resolved germanero

    (@germanero)


    To hide admin bar in front end suscribers users I’ve used this code from Codex:

    add_filter(‘show_admin_bar’, ‘__return_false’);

    When Maintenance plugin is activated, the admin bar shows again. I need hide admin bar to anyone except admin. Even in maintenance mode.

    Regards.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘AdminBar persist when maintenance plugin is activated’ is closed to new replies.