Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to get the group_id from the “groups_join_group” action in buddypress

@amrvignesh

Participant

Thanks @roger , All know that without having the group_id , no one canot perform the ‘groups_join_group’ , But I need this group_id as follows,

function get_group()

{

return group_id();

}

add_action(‘groups_join_group’,’get_group’);

I need the get_group() function should return the group_id where it is hooked into ‘groups_join_group’ as add_action.

@Roger you can try more 🙂

Does any one can get this 🙂 thanks

Skip to toolbar