ARForms Blog

arf_add_more_field_options_outside


Usage:


add_filter('arf_add_more_field_options_outside', 'your_function', 10, 2);
function your_function($field_options, $field_type){

//Add field options and value.
if($field_type == 'FIELD-TYPE') {
$field_options['CUSTOM-OPTION'] .= 'DEFAULT VALUE FOR CUSTOM OPTION';
}

return $field_options;
}





Parameters:




$field_options

All options of particular field.




$field_type

Field type.



Comments are closed.

© 2020 Repute InfoSystems - All Rights Reserved. Our Other Products ARMember and ARPrice Plugin