query_vars empty when using custom url with custom rewrite rule
You only have one capture group, the ID is in matches[1], there is no matches[2]. EDIT- Here is the working version I tested in the 2016 theme. I created a page with slug sign-up, added the following to functions.php, then visited the Permalinks Settings page to flush rewrite rules. The value passed to product is … Read more