bp_nouveau_get_hooked_member_meta()
Catch the content hooked to the do_action hooks in single member header and in the members loop.
Description
Return
(string|false) HTML Output if hooked. False otherwise.
Source
File: bp-templates/bp-nouveau/includes/members/functions.php
function bp_nouveau_get_hooked_member_meta() {
ob_start();
if ( ! empty( $GLOBALS['members_template'] ) ) {
/**
* Fires inside the display of a directory member item.
*
* @since BuddyPress 1.1.0
*/
do_action( 'bp_directory_members_item' );
// It's the user's header
} else {
/**
* Fires after the group header actions section.
*
* If you'd like to show specific profile fields here use:
* bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
*
* @since BuddyPress 1.2.0
*/
do_action( 'bp_profile_header_meta' );
}
$output = ob_get_clean();
if ( ! empty( $output ) ) {
return $output;
}
return false;
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 3.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.