17 Premium Addons Completely Free!!

Buy ARForms Now & Get

Grab the Deal

ARForms Blog

arf_add_more_field_options_outside

Published On February 22, 2018

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.



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.