ARForms Blog

arfaavailablefields


Usage:


add_filter('arfaavailablefields', 'your_function', 10, 1);
function your_function($form_elements){

//Add field in advance form elements list at form editor.
$outside_field = array(
'FIELD-TYPE' => array(
'icon' => 'FIELD ICON',
'label' => 'FIELD LABEL'
)
);

return array_merge($form_elements, $outside_field);
}





Parameters:




$form_elements

Array of all existing form elements.



Comments are closed.

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