bp_get_profile_field_data

  • apply_filters( 'bp_get_profile_field_data', xprofile_get_field_data( $field, $user_id ) )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 688
      		$defaults = array(
      			'field'   => false, // Field name or ID.
      			'user_id' => $bp->displayed_user->id
      		);
      
      		$r = wp_parse_args( $args, $defaults );
      		extract( $r, EXTR_SKIP );
      
      		return apply_filters( 'bp_get_profile_field_data', xprofile_get_field_data( $field, $user_id ) );
      	}
      
      function bp_profile_group_tabs() {
      	global $bp, $group_name;
      
      	if ( !$groups = wp_cache_get( 'xprofile_groups_inc_empty', 'bp' ) ) {
      		$groups = BP_XProfile_Group::get( array( 'fetch_fields' => true ) );
      		wp_cache_set( 'xprofile_groups_inc_empty', $groups, 'bp' );
      	}
      

Comments are closed.