On this page
do_action( 'permalink_structure_changed', string $old_permalink_structure, string $permalink_structure )
Fires after the permalink structure is updated.
Parameters
$old_permalink_structurestring-
The previous permalink structure.
$permalink_structurestring-
The new permalink structure.
Source
File: wp-includes/class-wp-rewrite.php. View all references
do_action( 'permalink_structure_changed', $old_permalink_structure, $permalink_structure );
Related
Used By
| Used By | Description |
|---|---|
| WP_Rewrite::set_permalink_structure() wp-includes/class-wp-rewrite.php | Sets the main permalink structure for the site. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/permalink_structure_changed