bp_group_is_activity_permalink()

Determine whether the current page is a group activity permalink.


Description Description

No longer used in BuddyPress.


Return Return

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


Top ↑

Source 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;
}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.