BP_Groups_List_Table::group_type_permalink_use_admin_filter( string $retval, object $type )

Filters the group type list permalink in the Group Type column.

Description

Changes the group type permalink to use the admin URL.

Parameters

$retval

(string) (Required) Current group type permalink.

$type

(object) (Required) Group type object.

Return

(string)

Source

File: bp-groups/classes/class-bp-groups-list-table.php

	public function group_type_permalink_use_admin_filter( $retval, $type ) {
		return add_query_arg( array( 'bp-group-type' => urlencode( $type->name ) ) );
	}

Changelog

Changelog
Version Description
BuddyPress 2.7.0 Introduced.

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.