acf/field_group/admin_enqueue_scripts

Description

This action is called in all pages where field groups are edited.

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

Usage

You can use this action to register / dereigister / enqueue / dequeue styles

<?php

function my_acf_field_group_admin_enqueue_scripts()
{
       wp_enqueue_style( 'myStylesheet' );
}

add_action('acf/field_group/admin_enqueue_scripts', 'my_acf_field_group_admin_enqueue_scripts');

?>

 

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.