Skip to content

Commit

Permalink
Rewrite::add_rewrite_rules change priority 10 from 100
Browse files Browse the repository at this point in the history
  • Loading branch information
torounit committed Jun 6, 2016
1 parent c951c73 commit 5d5a7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CPTP/Module/Rewrite.php
Expand Up @@ -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 );
}


Expand Down

0 comments on commit 5d5a7bc

Please sign in to comment.