jetpack_forms_log, submission_failed, $error_code, $error_details
jetpack_forms_log, submission_failed, $error_code, $error_details
Appears in: jetpack.16.0.1
Hook Type: action
Displaying hooks found in version: jetpack.16.0.1do_action('jetpack_forms_log, submission_failed, $error_code, $error_details') is found 1 times:
- /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php line 1961
* @param string $log_message The log message. * @param string $error_code The error code (optional). * @param string $error_details The error details (optional). */ do_action( 'jetpack_forms_log', 'submission_failed', $error_code, $error_details ); // Use a specific error message for invalid JWT tokens $error_message = ( 'invalid_jwt' === $error_code ) ? __( 'An error occurred. Please reload the page and try again — data entered may be lost.', 'jetpack-forms' ) : __( 'An error occurred. Please try again later.', 'jetpack-forms' );