Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alex-authlab/ce28298bb2650f7c427864a43e12be6a to your computer and use it in GitHub Desktop.
Save alex-authlab/ce28298bb2650f7c427864a43e12be6a to your computer and use it in GitHub Desktop.
Fluent Form field data input filter
add_filter( 'fluenform_rendering_field_data_input_text', function($data,$form){
$custom = ['value'=>'Hello','readonly'=>'true'];
$data['attributes'] =array_merge($data['attributes'] ,$custom);
return $data;
},10,2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment