jetpack_forms_jwt_decode_failure

jetpack_forms_jwt_decode_failure

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.3.1

apply_filters('jetpack_forms_jwt_decode_failure') is found 2 times:

  • /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php line 289
    					 * @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 303
    						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 ) {