W3cubDocs

/WordPress

do_action_ref_array( 'generate_rewrite_rules', WP_Rewrite $this )

Fires after the rewrite rules are generated.

Parameters

$this

(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

File: wp-includes/class-wp-rewrite.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/generate_rewrite_rules