Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile field group id outside of loop !important

  • @muskokee

    Participant

    Hi everyone, I have a little but of an urgent need. I need to determine what profile field group is currently displayed outside of the buddypress loop. Is this possible? Can I add some sort of global variable to my function to access this info? I need to display a notice dependent on the group id.

    I am currently hooking into the “bp_after_profile_edit_content” action but only want to hook in if I am in the correct group. All I ever return is a 1 which is the default number returned by the bp_get_current_profile_group_id() function.

    Thanks very, very much!

Viewing 1 replies (of 1 total)
  • @muskokee

    Participant

    I figured out another way to do it via the $bp object. Resolved!

Viewing 1 replies (of 1 total)
  • The topic ‘Profile field group id outside of loop !important’ is closed to new replies.
Skip to toolbar