BuddyPress Test Drive

  • Community
    • Activity
    • Groups
    • Members
  • News
  • About
  • Support
  • Profile picture of Chris Foster

    Chris Foster posted an update: 1 year, 11 months ago

    Anyone know which function calls the group name as a value, and not just echo’ing it?

    It seems bp_current_group_name(); is simply echo’ing the value to browser. And i need this value in my code.

    • Profile picture of Chris Foster
      Andy Peatling replied 1 year, 11 months ago

      bp_get_current_group_name() almost all template functions have an equivalent get_() function that will return instead of echo.

      • Profile picture of Chris Foster
        Chris Foster replied 1 year, 11 months ago

        Awesome. Thanks. I am pretty new to the whole WP / BP family… just over a couple months now… thanks again!

Proudly powered by WordPress and BuddyPress.

    • WordPress.org
    • Documentation
    • Support Forums
    • Feedback
  • Log in
  • Register