Support

Account

Home Forums General Issues Is there a way to set a default value for a timepicker field? Reply To: Is there a way to set a default value for a timepicker field?

  • You would need to use the ACF JS API hook time_picker_init.

    Sorry, that’s really all the information I have. I am not familiar with the time picker settings.

    Alternately you can use the acf/prepare_field hook. The date picker field does not have a default value. You would need to set $field['value'] to the default value, for example if the value is empty then set it to the default.