From 8606dec2f02dcb70237e0879f0d7f0d2e5ac283f Mon Sep 17 00:00:00 2001 From: Boone B Gorges Date: Mon, 16 Dec 2024 11:42:36 -0600 Subject: [PATCH] Fix remove_filter() syntax. --- wp-content/themes/openlab/buddypress/groups/groups-loop.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/openlab/buddypress/groups/groups-loop.php b/wp-content/themes/openlab/buddypress/groups/groups-loop.php index e0806079fb..2822ac703c 100644 --- a/wp-content/themes/openlab/buddypress/groups/groups-loop.php +++ b/wp-content/themes/openlab/buddypress/groups/groups-loop.php @@ -324,8 +324,8 @@ } if ( $is_open ) { - remove_filter( 'bp_groups_get_paged_groups_sql', 'openlab_is_open_group_query_callback', 10, 3 ); - remove_filter( 'bp_groups_get_total_groups_sql', 'openlab_is_open_group_query_callback', 10, 3 ); + remove_filter( 'bp_groups_get_paged_groups_sql', 'openlab_is_open_group_query_callback', 10 ); + remove_filter( 'bp_groups_get_total_groups_sql', 'openlab_is_open_group_query_callback', 10 ); } ?>