Here are the WordPress hooks (filters and actions) defined in AForms.
Hooks are a feature for advanced users, so I won’t describe them in detail.
This is information from AForms 2.0.0.
Filter to change the calculation rule settings of the form.
$rule is the calculation rule settings.
$form is the form which the rule is loaded into.
Filter to change the wording settings of the form.
$word is the wording settings.
$form is the form which the wording is loaded into.
Filter to change the behavior settings of the form.
$behavior is the behavior settings.
$form is the form which the behavior is loaded into.
Filter to change the stylesheet applied to the form.
$url is the url of the stylesheet.
$form is the form which loads the stylesheet.
Filter to display the quote details in a sidebar. Return the selector, for example,
$sidebarSelector is the selector of a sidebar.
$formId is the ID of the form.
This filter can control the behavior of AForms program, but we cannot support every style of user site.
YOU should customize the styling of your site with css, after using this filter.
aforms_compose_thanks_mail($mail, $form, $order);
Filter to change the thanks mail.
aforms_compose_report_mail($mail, $form, $order);
Filter to change the report mail (to administrators).