WordPress.org

Support

Support » How-To and Troubleshooting » How to print rewrite rules?

How to print rewrite rules?

  • I’ve added a menu page and user var_dump function to print $wp_rewrite object but rules is set to null. How can I print rules? I think that admin_menu hook is called early and rules are not set yet.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to print rewrite rules?’ is closed to new replies.
Skip to toolbar