bp_nouveau_group_meta()

Display the group meta.

Description

Return

(string) HTML Output.

Source

File: bp-templates/bp-nouveau/includes/groups/template-tags.php

1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
function bp_nouveau_group_meta() {
    $meta = bp_nouveau_get_group_meta();
 
    if ( ! bp_is_group() ) {
        echo join( ' / ', array_map( 'wp_kses', (array) $meta, array( 'span' => array( 'class' => array() ) ) ) );
    } else {
 
        /*
         * Lets return an object not echo an array here for the single groups,
         * more flexible for the template!!?? ~hnla
         *
         * @todo Paul says that a function that prints and/or returns a value,
         * depending on global state, is madness. This needs changing.
         */
        return (object) bp_nouveau_get_group_meta();
    }
}

Changelog

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.