Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
Use this filter to toggle the alert role that gets added to field errors.
Usage
add_filter( 'frm_include_alert_role_on_field_errors', '__return_false' );
Parameters
- None
Examples
Basic example
This filter is on by default. Use this code example to turn it off.
add_filter( 'frm_include_alert_role_on_field_errors', '__return_false' );