WordPress action hook

bp_member_options_nav

Fired by 14 WordPress plugins, running on 119K+ sites between them.

“Fires after the display of member options navigation.”

How to use bp_member_options_nav

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'bp_member_options_nav', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from BuddyPress's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

14 plugins that fire bp_member_options_nav

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. BuddyPress icon BuddyPress90,000+ installs do_action( 'bp_member_options_nav' ) bp-templates/bp-legacy/buddypress/members/single/home.php:51
  2. WCFM icon WCFM10,000+ installs do_action( 'bp_member_options_nav' ) templates/buddypress/member-header.php:87
  3. rtMedia for WordPress, BuddyPress and bbPress icon rtMedia for WordPress, BuddyPress and bbPress7,000+ installs do_action( 'bp_member_options_nav' ) templates/main.php:226
  4. BP Classic icon BP Classic6,000+ installs do_action( 'bp_member_options_nav' ) themes/bp-default/members/single/home.php:29
  5. Youzify icon Youzify4,000+ installs do_action( 'bp_member_options_nav' ) includes/public/core/functions/youzify-navbar-functions.php:20
  6. BuddyPress Builder for Elementor icon BuddyPress Builder for Elementor1,000+ installs do_action( 'bp_member_options_nav' ) templates/buddypress/rtmedia/main.php:250
  7. BuddyPress Integration for WooCommerce icon BuddyPress Integration for WooCommerce600+ installs do_action( 'bp_member_options_nav' ) templates/shop/member/home.php:34
  8. BuddyPress Wall icon BuddyPress Wall40+ installs do_action( 'bp_member_options_nav' ) includes/templates/bp-default/members/single/home-wall.php:29
  9. Suffusion BuddyPress Pack icon Suffusion BuddyPress Pack10+ installs do_action( 'bp_member_options_nav' ) template-1.5/members/single/home.php:31
  10. Buddypress Gifts latest 2014 icon Buddypress Gifts latest 201410+ installs do_action( 'bp_member_options_nav' ) includes/templates/gifts/screen_old.php:18
  11. BuddyPress FollowMe icon BuddyPress FollowMe10+ installs do_action( 'bp_member_options_nav' ) includes/templates/members/single/follow.php:30
  12. BuddyMobile icon BuddyMobile10+ installs do_action( 'bp_member_options_nav' ) themes/mobile/iphone/buddypress/members/single/home.php:15
  13. BuddyDrive icon BuddyDrive10+ installs do_action( 'bp_member_options_nav' ) templates/buddydrive-explorer.php:30
  14. BP Shop icon BP ShopFewer than 10 installs do_action( 'bp_member_options_nav' ) templates/default/home.php:24

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.