Changeset 13448 for trunk/src/bp-core/bp-core-template.php
- Timestamp:
- 04/07/2023 07:47:34 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template.php
r13443 r13448 2780 2780 */ 2781 2781 function bp_is_groups_directory() { 2782 if ( bp_is_groups_component() && ! bp_is_group() && ( ! bp_current_action() || ( bp_action_variable() && bp_is_current_action( bp_get_groups_group_type_base() ) ) ) ) { 2783 return true; 2784 } 2785 2786 return false; 2782 $return = false; 2783 2784 if ( bp_is_groups_component() && ! bp_is_group() ) { 2785 $return = ! bp_current_action() || ! empty( buddypress()->groups->current_directory_type ); 2786 } 2787 2788 return $return; 2787 2789 } 2788 2790
Note: See TracChangeset
for help on using the changeset viewer.