This action works on version and below. If using version 4, please use acf/field_group/admin_head


This action is called in the head of the edit field group page.

You can think of this function the same as admin_head but only for the ACF edit field group page.


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

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

		/* ... */


	<script type="text/javascript">

		/* ... */


add_action('acf_head-fields', 'my_head_fields');


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.