[wp-trac] [WordPress Trac] #40395: New action: pre_generate_rewrite_rules

WordPress Trac noreply at wordpress.org
Sat Apr 8 13:20:40 UTC 2017


#40395: New action: pre_generate_rewrite_rules
------------------------------+-----------------------------
 Reporter:  sebastian.pisula  |      Owner:
     Type:  feature request   |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Rewrite Rules     |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 I suggest add new action in WP_Rewrite class.

 Why? I need add new permastruct. I can use for example admin_init, but I
 think it isn't optimal if rewrite rules in saved in permalink page or via
 call function.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40395>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list