WordPress.org

Forums

WangGuard
[resolved] Remove WangGuard link from admin bar (13 posts)

  1. Roman
    Member
    Posted 2 years ago #

    How to remove WangGuard link from admin bar?

    http://wordpress.org/extend/plugins/wangguard/

  2. Jose Conti
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Roman,

    Add to your Theme functions.php file this lines:

    remove_action('bp_adminbar_menus', 'wangguard_add_bp_admin_bar_menus' , 10 );
    remove_action('admin_bar_menu', 'wangguard_add_wp_admin_bar_menus', 100 );

    Kind regards

  3. Roman
    Member
    Posted 2 years ago #

    Hi José Conti,

    Thank you for quick response.
    It works!

    Best regards

  4. Jose Conti
    Member
    Plugin Author

    Posted 2 years ago #

    You're welcome

  5. Daniel
    Member
    Posted 2 years ago #

    why not to add an option for this?

  6. Jose Conti
    Member
    Plugin Author

    Posted 2 years ago #

    Ok,

    your wish is my command.

    The next version will allow to disable the WangGuard menu from admin.

    Kind regards

  7. Jose Conti
    Member
    Plugin Author

    Posted 2 years ago #

    Now is live.

    WangGuard version 1.5.9+

    Kind regards

  8. Daniel
    Member
    Posted 2 years ago #

    Thank you very much!

  9. Jose Conti
    Member
    Plugin Author

    Posted 2 years ago #

    You're welcome

  10. hoppylorinc
    Member
    Posted 1 year ago #

    I guess I accidentally removed the Wangguard menu - how can I access it again?

  11. Jose Conti
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Or you added the code, or you marked in wp-admin -> (network if is multisite) -> "WangGuard" -> "configuration" -> "WangGuard Settings " and unmark "Disable WangGuard menu from WordPress & BuddyPress AdminBar."

    Kind regards

  12. hoppylorinc
    Member
    Posted 1 year ago #

    With the menu set off, there is nothing to click. One should access the settings again by adding this to the url:

    /wp-admin/admin.php?page=wangguard_conf#wangguard-conf-settings

  13. Jose Conti
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @hoppylorinc

    Do you not have the WangGuard menu? (left hand of the screen).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WangGuard
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags