bp_nouveau_group_activity_widget_overrides( array $args = array() )
Filter the Latest activities Widget to only keep the one of the group displayed
Description Description
Parameters Parameters
- $args
-
(Optional) The Activities Template arguments.
Default value: array()
Return Return
(array) The Activities Template arguments.
Source Source
File: bp-templates/bp-nouveau/includes/groups/functions.php
function bp_nouveau_group_activity_widget_overrides( $args = array() ) { return array_merge( $args, array( 'object' => 'groups', 'primary_id' => bp_get_current_group_id(), ) ); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |