bp_nouveau_members_remove_home_widget_filters()
Remove the Member’s default front page filters as we’re no more in the sidebar
Description
Source
File: bp-templates/bp-nouveau/includes/members/functions.php
function bp_nouveau_members_remove_home_widget_filters() { remove_filter( 'bp_nouveau_activity_widget_query', 'bp_nouveau_member_activity_widget_overrides', 10, 1 ); remove_filter( 'bp_before_has_groups_parse_args', 'bp_nouveau_member_groups_widget_overrides', 10, 1 ); remove_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_member_members_widget_overrides', 10, 1 ); /** * Fires after Nouveau removes its members home widget filters. * * @since BuddyPress 3.0.0 */ do_action( 'bp_nouveau_members_remove_home_widget_filters' ); }
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.