permalink_structure_changed WordPress Action Hook
The permalink_structure_changed hook is fired when the permalink structure is changed. The new structure is passed to the hook as an argument.
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
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |