Home › Forums › Front-end Issues › How do the date of publication by a front-end form? › Reply To: How do the date of publication by a front-end form?
At the moment I’m using the following code:
acf_form(array(
'post_id' => 'new_post',
'post_title' => true,
'post_content' => true,
'new_post' => array(
'post_type' => 'post',
'post_status' => 'publish'
),
'return' => '%post_url%',
'submit_value' => 'Опубликовать'
));
Please give an example of code that runs fast selection of the date of publication.
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.