2

Your rewrite rules aren't showing up because you're calling it from functions.php before they've been defined on a global level. So, you can either hook into an action or pull the rules directly from the DB. Doing it through a hook: function check_my_rewrites() { if ( is_admin() ) var_dump($wp_rewrite->wp_rewrite_rules()); } add_action( 'init','...


Only top voted, non community-wiki answers of a minimum length are eligible