bp_group_is_activity_permalink()

Determine whether the current page is a group activity permalink.

Description

No longer used in BuddyPress.

Return

(bool) True if this is a group activity permalink, otherwise false.

Source

File: bp-groups/bp-groups-template.php

function bp_group_is_activity_permalink() {

	if ( !bp_is_single_item() || !bp_is_groups_component() || !bp_is_current_action( bp_get_activity_slug() ) ) {
		return false;
	}

	return true;
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.