ARForms Blog

arf_add_more_field_options_outside

Last Updated 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.



Comments are closed.

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

Subscribe To Our Newsletter For
Best Monthly Offers & Discounts!

Be a part of our subscription and stay updated with the latest deals we offer.
Subscribe Me!
No Thanks!
close-link