Home › Forums › Backend Issues (wp-admin) › Setting a default value for date picker field › Reply To: Setting a default value for date picker field
There are a couple of ways that this can be done. The easiest would probably be by using either an acf/load_field filter (https://www.advancedcustomfields.com/resources/acfload_field/), an acf/prepare_field filter (https://www.advancedcustomfields.com/resources/acfprepare_field/) or an acf/load_value filter (https://www.advancedcustomfields.com/resources/acfload_value/). Any one of these can be used to alter the default value of the field when the page is loaded and or the field is shown. acf/load_field and acf/prepare_field will let you alter any field settings.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.