Home Forums ACF PRO Time picker increment/steps


Time picker increment/steps

  • I would love the time picker to display only the 15min increments instead of all minutes, can you help me set this up please?

  • I implemented this JS referencing the JS API.

        acf.add_filter('time_picker_args', function (args, field) {
            args.timeFormat = 'h:mm'
            args.altTimeFormat = 'HH:mm'
            args.stepMinute = 15
            return args;
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Time picker increment/steps’ is closed to new replies.