Home › Forums › Backend Issues (wp-admin) › How to use ACF in a plugins admin page › Reply To: How to use ACF in a plugins admin page
Hi @sKuijers
The acf_form_head function is only intended to be used in a front end template. It can’t be used in the backend in the same way.
For ACF to work, you will need to use the acf/input/head, acf/input/enqueue_scripts actions. Perhaps you could look in the core/controllers/input.php file to see how ACF adds the necessary code to the post page?
Thanks
E
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.