Home › Forums › Front-end Issues › acf_form is disabled for anonymous user › Reply To: acf_form is disabled for anonymous user
What do you mean with
I need create post for anonymous user
?
“wp_get_current_user” only returns a valid output while a user is logged in, so forget this.
Do you want an form that creates posts with an “anonymous user” profile? Thats not possible. But you can create a User called anonymous and use this as post_author.
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.