Smart idea – ‘testing’ was in fact the default category. To test this theory, I switched the default category to one not represented in the above screenshots. Under this scenario, I expected field group B (the second screenshot) to appear on a new post. However, field group A still appears.
Would you be willing to access our development site and take a look? I can make an account if you are willing.
And thanks again. Seriously. Can’t believe this is free support. You should offer a tiered service! ACF has become really essential to our development efforts.
Thanks Elliot, just signed up. Looking forward to it.
Didn’t realize that! I will use !wp_is_post_revision( $post_id )
to return out of the revision case. Thanks again.
PS Looking forward to conditional logic in repeater box. Happy to beta test if you need someone :).
It appears that this action is running twice when I publish a post. I used th following code as diagnostic and received two emails. Any idea what’s going on?
function dfm_hook_test() {
wp_mail( '[email protected]', 'Action run', 'ok' );
}
add_action('acf/save_post','dfm_hook_test', 20);
Thanks Elliot! Appreciate the help.
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.