bp_nouveau_group_groups_widget_overrides( array $args = array() )

Filter the Groups widget to only keep the displayed group.


Parameters Parameters

$args

(array) (Optional) The Groups Template arguments.

Default value: array()


Top ↑

Return Return

(array) The Groups Template arguments.


Source Source

File: bp-templates/bp-nouveau/includes/groups/functions.php

function bp_nouveau_group_groups_widget_overrides( $args = array() ) {
	return array_merge( $args, array(
		'include' => bp_get_current_group_id(),
	) );
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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