W3cubDocs

/WordPress

do_action( 'permalink_structure_changed', string $old_permalink_structure, string $permalink_structure )

Fires after the permalink structure is updated.

Parameters

$old_permalink_structure

(string) The previous permalink structure.

$permalink_structure

(string) The new permalink structure.

Source

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

View on Trac

Changelog

Version Description
2.8.0 Introduced.

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