jetpack_forms_jwt_decode_failure
jetpack_forms_jwt_decode_failure
Appears in: jetpack.15.3.1, jetpack.15.4, jetpack.15.5, jetpack.15.6, jetpack.15.7, jetpack.15.8, jetpack.15.9, jetpack.15.9.1, jetpack.16.0
Hook Type: filter
Displaying hooks found in version: jetpack.16.0apply_filters('jetpack_forms_jwt_decode_failure') is found 2 times:
- /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php line 625
* @param \Exception $e The exception that was thrown during decoding. * * @return Contact_Form|null The value to return. */ $filtered = apply_filters( 'jetpack_forms_jwt_decode_failure', null, $jwt_token, $e ); if ( $filtered !== null ) { return $filtered; } throw new \Exception( sprintf( /* translators: %s is the original exception message */ - /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php line 639
0, $e ); } return apply_filters( 'jetpack_forms_jwt_decode_failure', null, $jwt_token, $e ); } } $version = isset( $data['version'] ) ? absint( $data['version'] ) : 1; if ( 2 === $version ) {