Filter hooks

It’s possible to modify or extend the default behavior of HTML Forms beyond what is possible with the available settings. To do this you can use any of the available action hooks and filter hooks in the plugin.

To learn more about what filter hooks are, please refer to the WordPress plugin API documentation.

Available filter hooks

Below is a list of all available filter hooks in the plugin.


Filters the action attribute for the form element.

Default value: null


Filters the CSS classes which are added to the form element’s class attribute.

Default value: ""


Filters the complete form HTML when the form is outputted.


Filters the error code when a form is validated. Return an empty string if the form validates without errors.

Default value: ""