Support

Account

Home Forums General Issues Time picker: Keep quarter hours Reply To: Time picker: Keep quarter hours

  • I have 2 time pickers, is this a problem?

    Here is my full code, I don’t understand too:

    jQuery(document).ready(function($) {
    	var acfVersion = acf.get('acf_version');
    	console.log(acfVersion);
    
    	/*
    	acf.addAction('time_picker_init', function( $input, args, field ) {
    		console.log($input);
    		console.log(args);
    		console.log(field);
    	});
    	*/
    
    	acf.add_filter('time_picker_args', function( args, field ){
    		console.log(args);
    		console.log(field);
    		return args;
    	});
    });