ARForms Blog

arfgetdefaultvalue

Last Updated On February 22, 2018

Usage:


add_filter('arfgetdefaultvalue', 'your_function', 10, 2);
function your_function($default_value = '', $field){
//Filter your fields default value.
if($field->type == 'FIELD-TYPE' ){
$default_value = 'SET DEFAULT VALUE';
}
return $default_value;
}





Parameters:




$default_value

Default value of field.




$field

Array of all options of fields.



Comments are closed.

© 2019 Repute InfoSystems - All Rights Reserved. Our Other Product ARMember 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