Skip to content

Commit

Permalink
Fix remove_filter() syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed Dec 16, 2024
1 parent 92db5b7 commit 8606dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wp-content/themes/openlab/buddypress/groups/groups-loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
?>

Expand Down

0 comments on commit 8606dec

Please sign in to comment.