Changeset 1974 for trunk/bp-groups/bp-groups-filters.php
- Timestamp:
- 09/28/2009 05:58:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-filters.php
r1905 r1974 58 58 59 59 /**** Filters for group forums ****/ 60 60 61 function groups_add_forum_privacy_sql() { 61 62 global $bp; 62 63 63 if ( !$bp->groups->current_group ) { 64 /* Only filter the forum SQL on group pages or on the forums directory */ 65 if ( $bp->groups->current_group || bp_is_directory() ) { 64 66 add_filter( 'get_topics_fields', 'groups_add_forum_fields_sql' ); 65 67 add_filter( 'get_topics_index_hint', 'groups_add_forum_tables_sql' );
Note: See TracChangeset
for help on using the changeset viewer.