bp_nouveau_group_activity_widget_overrides( array $args = array() )
Filter the Latest activities Widget to only keep the one of the group displayed
Description
Parameters
- $args
-
(Optional) The Activities Template arguments.
Default value: array()
Return
(array) The Activities Template arguments.
Source
File: bp-templates/bp-nouveau/includes/groups/functions.php
1042 1043 1044 1045 1046 1047 | function bp_nouveau_group_activity_widget_overrides( $args = array () ) { return array_merge ( $args , array ( 'object' => 'groups' , 'primary_id' => bp_get_current_group_id(), ) ); } |
Changelog
Version | Description |
---|---|
BuddyPress 3.0.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.