ARForms Blog

arf_new_field_array_filter_outside


Usage:


add_filter('arf_new_field_array_filter_outside', 'your_function', 10, 4);
function your_function($fields, $field_icons, $json_data, $positioned_field_icons){

//Add HTML for particular field.
$field_html = array(
'FIELD-TYPE' => 'HTML FOR FIELD'
);

return array_merge($fields, $field_html);

}





Parameters:




$fields

Array of all fields with its HTML content.




$field_icons

Array of all field icons.




$json_data

Array of JSON field data for all fields.




$positioned_field_icons

Array of all fields with its field icons array.



Comments are closed.

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