generate_rewrite_rules WordPress Action Hook
The generate_rewrite_rules hook is used to generate the rewrite rules used by WordPress.
do_action_ref_array( 'generate_rewrite_rules', WP_Rewrite $wp_rewrite ) #
Fires after the rewrite rules are generated.
Parameters
- $wp_rewrite
(WP_Rewrite)Current WP_Rewrite instance (passed by reference).
More Information
Triggers after all rewrite rules have been created. The rewrite object is passed as argument by reference.
Source
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |