17 Premium Addons Completely Free!!

Buy ARForms Now & Get

Grab the Deal

ARForms Blog

arf_controls_added_class_outside_materialize

1 min read

Usage:


add_filter('arf_controls_added_class_outside_materialize', 'your_function', 10, 2);
function your_function($class, $field_type){

if($field_type == FIELD-TYPE)
{
$class .='CLASS';
}
return $class;

}





Parameters:




$class

String of all classes to add in wrapper of the input control.




$field_type

Field type.



facebook icon

Brian Denim

Brian is a WordPress expert with a decade of dev experience, a knack for technical writing, a film buff, and an outdoor enthusiast.

© 2024 Repute InfoSystems - All Rights Reserved.