Home › Forums › Feature Requests › Exclude field group from clone field › Reply To: Exclude field group from clone field
Thank you John.
I created the group in question via Add New Field Group in WP Admin, and then generated PHP code to instead create it programatically. I then deleted the field group I had created in WP admin. I have tried adding ‘private’ => 1 to the generated code e.g.
…
‘menu_order’ => 0,
‘position’ => ‘normal’,
‘style’ => ‘seamless’,
‘label_placement’ => ‘top’,
‘instruction_placement’ => ‘label’,
‘hide_on_screen’ => ”,
‘active’ => 1,
‘description’ => ”,
‘private’ => 1
…
But this does not have the desired effect. Could you please advise?
Many thanks,
chris
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.