array( 'user_login_id' => 'api_user', 'login_id' => $login_id, 'auth_token' => 'api_user20230419045143' ) ) ); $data = json_decode(wp_remote_retrieve_body($response), true); // foreach ($data as $query) { // $EmployeeID = $query['EmployeeID']; // } echo '
'; // if (!empty($logo)) { // echo wp_get_attachment_image($logo['ID'], 'thumbnail', null, array('class' => 'portfolio-logo alignleft')); // } if (!empty($login_id)) { echo '

Faculty Member Information (Read only)

'; echo '
'; } // var_dump($data[0]); // print_r($data); echo '
';