This action is called in the head of all pages where fields are rendered. Eg: page / post edit screen, front end form, options page, etc.

This action is very similar to the WP action admin_head.



You can use this action to add custom css / js to interact with your fields. eg:

function my_acf_admin_head() {
	<style type="text/css">

		/* ... */


	<script type="text/javascript">

		/* ... */


add_action('acf/input/admin_head', 'my_acf_admin_head');



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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.