Changeset 11120 for trunk/src/bp-members/classes/class-bp-members-admin.php
- Timestamp:
- 09/19/2016 11:52:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/classes/class-bp-members-admin.php
r11111 r11120 2260 2260 2261 2261 // Get the list of users that are assigned to this member type. 2262 $type = get_term_by( 'slug', $type_slug, bp_get_member_type_tax_name() );2262 $type = bp_get_term_by( 'slug', $type_slug, bp_get_member_type_tax_name() ); 2263 2263 2264 2264 if ( empty( $type->term_id ) ) { … … 2266 2266 } 2267 2267 2268 $user_ids = get_objects_in_term( $type->term_id, bp_get_member_type_tax_name() );2268 $user_ids = bp_get_objects_in_term( $type->term_id, bp_get_member_type_tax_name() ); 2269 2269 2270 2270 if ( $user_ids && ! is_wp_error( $user_ids ) ) {
Note: See TracChangeset
for help on using the changeset viewer.