WordPress action hook

bp_profile_header_meta

Fired by 7 WordPress plugins, running on 101K+ sites between them.

“Fires after the group header actions section.”

How to use bp_profile_header_meta

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_profile_header_meta', 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.

7 plugins that fire bp_profile_header_meta

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_profile_header_meta' ) bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php:81
  2. BP Classic icon BP Classic6,000+ installs do_action( 'bp_profile_header_meta' ) themes/bp-default/members/single/member-header.php:59
  3. Youzify icon Youzify4,000+ installs do_action( 'bp_profile_header_meta' ) includes/public/core/class-youzify-user.php:166
  4. BuddyPress Builder for Elementor icon BuddyPress Builder for Elementor1,000+ installs do_action( 'bp_profile_header_meta' ) core/widgets/profile-member/LastActivity.php:143
  5. Suffusion BuddyPress Pack icon Suffusion BuddyPress Pack10+ installs do_action( 'bp_profile_header_meta' ) template-1.2/members/single/member-header.php:48
  6. BuddyMobile icon BuddyMobile10+ installs do_action( 'bp_profile_header_meta' ) themes/mobile/iphone/buddypress/members/single/member-header.php:34
  7. Buddypress Gifts latest 2014 icon Buddypress Gifts latest 201410+ installs do_action( 'bp_profile_header_meta' ) includes/templates/gifts/screen.php:60

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.