jetpack_forms_secret_jwt

jetpack_forms_secret_jwt

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.2

apply_filters('jetpack_forms_secret_jwt') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php line 400
    		 * @param string $secret Passes a empty string by default so that we can fall back to other methods if the filter is not used.
    		 *
    		 * @return string The secret used for signing contact form JWT tokens.
    		 */
    		$secret = apply_filters( 'jetpack_forms_secret_jwt', '' );
    		if ( is_string( $secret ) && ! empty( $secret ) ) {
    			return $secret;
    		}
    
    		$token = ( new Tokens() )->get_access_token();