Support

Account

Home Forums Backend Issues (wp-admin) Admin Datepicker Range Reply To: Admin Datepicker Range

  • Hi @timbomckay,

    Thanks for the post.

    I would recommend you make use of the following script to change the date picker range:

    <script type="text/javascript"> 	
    (function($) { 		
                  acf.add_filter('date_picker_args', function(args, el) { 			
                  args.yearRange = "-200:+200"; 			
                  return args; 		
                  }); 	
    
    })($); 
    
    </script>