WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 6 weeks ago

#40395 new feature request

New action: pre_generate_rewrite_rules

Reported by: sebastian.pisula Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Rewrite Rules Keywords: has-patch
Focuses: Cc:
PR Number:

Description

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.

Attachments (1)

40395.patch (938 bytes) - added by sebastian.pisula 3 years ago.

Download all attachments as: .zip

Change History (3)

#1 @sebastian.pisula
3 years ago

  • Keywords has-patch added

#2 @sebastian.pisula
6 weeks ago

Any updates? :)

Note: See TracTickets for help on using tickets.