Reply To: groups_get_groupmeta in functions.php
Good shout @shanebp.
Also, looking at the groups_get_groupmeta() function definition, I’m wondering why we need to filter the query string with bp_filter_metaid_column_name?
Anyway, alternatively, this may work but I haven’t tested:
$retval = get_metadata( 'group', $group_id, $meta_key, $single );
var_dump( $retval );
Edit: Looks as though there is a reason BuddyPress uses bp_filter_metaid_column_name to filter the query. So my above might not work when it comes to BP.