BuddyDev

Search

[Resolved] Creating a BP custom hook

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #29653

    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 1 bp_get_the_profile_group_id(1)?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #29654

    Hi there, it’s working perfectly now, I can see that it is working out of the box, without adding the function to a hook element, that’s really a useful addition you have made!

    Which class can I use for CSS?

    Thanks again

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #29662

    You are welcome 🙂

The topic ‘ [Resolved] Creating a BP custom hook’ is closed to new replies.

This topic is: resolved