Hi Brajesh, I can see you added an action
bp_get_the_profile_group_id()
for adding group id’s.The way I have added an action hook, so far, is to add a hook in a theme element.
What does this markup do, does it create new hooks to target different groups by its id’s?
Just to clarify, can I add
bp_get_the_profile_group_id()
to my hook element with an id, like this for group id 1bp_get_the_profile_group_id(1)
?Regards
Carsten
The topic ‘ [Resolved] Creating a BP custom hook’ is closed to new replies.
This topic is: resolved