Changeset 13312 for trunk/src/bp-members/bp-members-functions.php
- Timestamp:
- 08/13/2022 08:21:06 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-functions.php
r13309 r13312 3010 3010 } 3011 3011 3012 $types = wp_filter_object_list( $types, $args, $operator);3012 $types = array_filter( wp_filter_object_list( $types, $args, $operator ) ); 3013 3013 3014 3014 /** … … 3024 3024 * @param string $operator 'or' to match any of $args, 'and' to require all. 3025 3025 */ 3026 $types = apply_filters( 'bp_get_member_types', $types, $args, $operator );3027 3028 if ( 'names' === $output ) {3026 $types = (array) apply_filters( 'bp_get_member_types', $types, $args, $operator ); 3027 3028 if ( $types && 'names' === $output ) { 3029 3029 $types = wp_list_pluck( $types, 'name' ); 3030 3030 }
Note: See TracChangeset
for help on using the changeset viewer.