Home › Forums › Backend Issues (wp-admin) › Rewrite custom post type slug with an ACF field in Options page › Reply To: Rewrite custom post type slug with an ACF field in Options page
updating rewrite rules is a funny thing in WP and requires flushing the rewrite rules in key places. For example during plugin activation or deactivation. If you add rules after the cache has been created WP will not recognize them. For more information on this see the codex here https://codex.wordpress.org/Rewrite_API/flush_rules
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.