17 Premium Addons Completely Free!!

Buy ARForms Now & Get

Grab the Deal

ARForms Blog

arf_field_wise_js_css

1 min read

Usage:


add_filter('arf_field_wise_js_css', 'your_function', 10, 1);
function your_function($fields_js_css = array()){

//Return JS/CSS array for particular field.
$outside_field = array(
'FIELD-TYPE' = array(
'title' => 'FIELD NAME',
'handle' => array(
'js' => array('FIELD-JS'),
'css' => array('FIELD-CSS'),
),
)
);

return array_merge($fields_js_css, $outside_field);
}





Parameters:




$fields_js_css

Array of field wise JS and CSS.



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.