diff --git a/CPTP/Module/Rewrite.php b/CPTP/Module/Rewrite.php index 282e155..e87c2b4 100644 --- a/CPTP/Module/Rewrite.php +++ b/CPTP/Module/Rewrite.php @@ -23,7 +23,7 @@ public function add_hook() { add_action( 'registered_post_type', array( $this, 'registered_post_type' ), 10, 2 ); add_action( 'registered_taxonomy', array( $this, 'registered_taxonomy' ), 10, 3 ); - add_action( 'wp_loaded', array( $this, 'add_rewrite_rules' ), 100 ); + add_action( 'wp_loaded', array( $this, 'add_rewrite_rules' ), 10 ); }