bp_nouveau_member_activity_widget_overrides( array $args = array() )

Filter the Latest activities Widget to only keep the one of displayed user


Parameters Parameters

$args

(array) (Optional) The Activities Template arguments.

Default value: array()


Top ↑

Return Return

(array) The Activities Template arguments.


Source Source

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

function bp_nouveau_member_activity_widget_overrides( $args = array() ) {
	return array_merge( $args, array(
		'user_id' => bp_displayed_user_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.