Change ‘delivery date’ to a Past date by the Admin

[ad_1]

Thanks for all the work on this plugin, it’s awesome!

I’m setting up a site to sell training plans for cycling (my code for the construction of the plans also works as a plugin). I’m using the Delivery Date plugin (plus some code) to setup the start day of the training program. I’d like to let the Admim of the site change a ‘delivery date’ of an order (actually a ‘start date’ for the training) to a date in the past. I tried modifying the plugin at various points with no success.

Could anyone, please, give me a hint as to what statement(s) (a time() definition?) to change in order to allow dates in the past for the delivery datepicker (i.e.: the ‘meta box’ in the plugin code)?

I’d appreciate this help very mych!

  • This topic was modified 1 hour, 14 minutes ago by cloter.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer