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:
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.
-
BuddyPress90,000+ installs
do_action( 'bp_member_options_nav' )bp-templates/bp-legacy/buddypress/members/single/home.php:51 -
WCFM10,000+ installs
do_action( 'bp_member_options_nav' )templates/buddypress/member-header.php:87 -
rtMedia for WordPress, BuddyPress and bbPress7,000+ installs
do_action( 'bp_member_options_nav' )templates/main.php:226 -
BP Classic6,000+ installs
do_action( 'bp_member_options_nav' )themes/bp-default/members/single/home.php:29 -
Youzify4,000+ installs
do_action( 'bp_member_options_nav' )includes/public/core/functions/youzify-navbar-functions.php:20 -
BuddyPress Builder for Elementor1,000+ installs
do_action( 'bp_member_options_nav' )templates/buddypress/rtmedia/main.php:250 -
BuddyPress Integration for WooCommerce600+ installs
do_action( 'bp_member_options_nav' )templates/shop/member/home.php:34 -
BuddyPress Wall40+ installs
do_action( 'bp_member_options_nav' )includes/templates/bp-default/members/single/home-wall.php:29 -
Suffusion BuddyPress Pack10+ installs
do_action( 'bp_member_options_nav' )template-1.5/members/single/home.php:31 -
Buddypress Gifts latest 201410+ installs
do_action( 'bp_member_options_nav' )includes/templates/gifts/screen_old.php:18 -
BuddyPress FollowMe10+ installs
do_action( 'bp_member_options_nav' )includes/templates/members/single/follow.php:30 -
BuddyMobile10+ installs
do_action( 'bp_member_options_nav' )themes/mobile/iphone/buddypress/members/single/home.php:15 -
BuddyDrive10+ installs
do_action( 'bp_member_options_nav' )templates/buddydrive-explorer.php:30 -
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.