Home › Forums › General Issues › Setting default image url for theme? › Reply To: Setting default image url for theme?
I think you could just create the post meta data upon activation.. since it’ll have the correct meta key the options image field should recognize it and it’d be set as “default” from the users point of view..
Altho I’m not sure where the options page saves it’s data.. if its in the wp_options table you’ll need to use set_option
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.