true, 'version' => ZEROCERT_VERSION, 'identity' => $identity, 'kgc' => $kgc, 'status' => ( $status === 'verified' ) ? 'verified' : 'pending', 'keyId' => $key_id, 'algorithm' => 'CL-PKC-ECDH-v2', 'plugin' => 'wordpress', ); header( 'Content-Type: application/json' ); header( 'Access-Control-Allow-Origin: *' ); header( 'Cache-Control: no-cache' ); echo wp_json_encode( $payload ); exit; } }