ARForms Blog



add_filter('arfbeforereplaceshortcodes', 'your_function', 10, 4);
function your_function($html, $field, $error, $form){

//Replace HTML For shortcodes in field HTML.
if($field['type'] == 'FIELD-TYPE') {
$html = str_replace('[CUSTOMCONTENT]', 'CUSTOMCONTENTHTML', $html);

return $html;



HTML of field before populating in form.


Array of field options.


Error flag to restrict field to be populated in form.


Array of form options.

Comments are closed.

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