[insert_php]

global $mbsy;
$response_raw = $mbsy->get_all_ambassadors( array( ’email’ => $user_email ) );
$response = json_decode( $response_raw, TRUE );
print_R(count($response[‘response’][‘data’][‘ambassadors’]));
[/insert_php]

Leave a Reply

Your email address will not be published. Required fields are marked *