How do I know if a rewritten rule was applied?
I’m not very sure of what you’re trying to achieve, but I hope this answer can help. 🙂 With the way your custom post type is being registered, WordPress will create custom rewrite rules such as below for the CPT’s single post pages: RegEx: ballinfo/([^/]+)(?:/([0-9]+))?/?$ Query: index.php?balls=$matches[1]&page=$matches[2] So for the following question: how do I … Read more