Home › Forums › ACF PRO › Disallow files on acf_form_head › Reply To: Disallow files on acf_form_head
If you really want to remove the scripts, after acf_form_head() you can dequeue the scripts https://codex.wordpress.org/Function_Reference/wp_dequeue_script and css https://codex.wordpress.org/Function_Reference/wp_dequeue_style. Please note that I do not know what effect this will have on the operation of your front end forms. Many scripts rely on other scripts and removing any one of the could cause your form to stop working.
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.