Home › Forums › Backend Issues (wp-admin) › Add Rule for new post/page › Reply To: Add Rule for new post/page
Hi @sabbas
The location rule is saved in the wp_postmeta table under the “rule” meta key for the free version, while for the PRO version it’s located in the wp_posts table under the “post_content” column. So you can modify it after you created the post B.
Another option would be saving the rule in the wp_options table and then load the rule and the fields by using PHP code. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/register-fields-via-php/.
I hope this helps 🙂
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.