Support

Account

Home Forums Backend Issues (wp-admin) Filter a specific text field Reply To: Filter a specific text field

  • Hi @dnavarrojr ,

    I beleive you can add the custom default value by using the laod field hook

    $address = "my-custom-default";
    	
    add_filter('acf/load_field/name=contact_info',
         function($field) use ($address) {           
    	     $field['default_value'] = $address;
    	     return $field;
         }
    );