BUDDYBOSS WEB

Your community, courses and memberships on your own website.

BUDDYBOSS APP

Your own branded app on iOS and Android.

DONE FOR YOU

We build, launch and run it for you.

BuddyBoss website and mobile app

Web + App Done For You

$4,999 flat

Web Scale + Done For You Web

App Launch + Done For You App

PRICING

Web Pricing

Launch, Scale and Done For You Web.

From

$199

first year

App Pricing

Solo, Launch and Done For You App.

From

$499

first year

SITE + APP

Web + App Done For You

Your site and your app, built and run for you.

$4,999

flat, never rises

How to Get the Queried ID in BuddyBoss

Updated

Introduction

When building custom templates or plugins for BuddyBoss (built on BuddyPress), you often need the ID of whatever object is currently being viewed—whether that’s a user’s profile or an activity post. This guide shows you the simplest functions to retrieve:

You can also refer to this documentation on on how to get the Activity Feed post:
https://buddyboss.com/resources/reference/functions/bp_activity_get_activity_id/

Troubleshooting and FAQs

Q: How do I get a group’s ID on a group page?
A: Use bp_get_current_group_id() or within a loop groups_get_current_group()->id.

Was this article helpful?

Subscribe to Our Newsletter

This field is for validation purposes and should be left unchanged.
This field is hidden when viewing the form

Can’t find the answer you’re looking for?

Our support team is here to help with anything the docs don’t cover.