Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Date selector (datebox) control doesn’t allow future dates


bobsie
Member

@bobsie

Thanks r-a-y
Sorry I’m new to this side of things.
I’m taking your sample code and trying to add it to functions.php in my theme.
I thought I need to take the apply_filters line and add it where the comment is? But that breaks everything. I’m unclear how/when to replace the $variables with actual values?
Is it possible to give me the sample code complete with variables filled in so that the dateboxes all show the current year and an additional three years ahead. I.e. right now they’d show 2010, 2011, 2012, 2013?

Skip to toolbar