Description

The filter is used to extend the cache times used for the form token.

Parameters

$times
(array) An array of times to check after today.

Source

wpforms/src/Forms/Token.php

More Information

The wpforms_form_token_check_after_today filter can be used to extend the cache times that WPForms uses on the form tokens for the after times.

This filter is used mostly to catch edge cases like the form page loading and submitting on two different days. For a working example, please see the Snippet Reference link below.

There is another available filter for extending the cache times before as well. Please see the wpforms_form_token_check_before_today filter.

Snippet Reference: How to Change the Cache Time on Your Form Token

Additional Filter Reference: wpforms_form_token_check_beforee_today