available_permalink_structure_tags WordPress Filter Hook
The available_permalink_structure_tags hook is used to add new tags to the list of available tags for the permalink structure. This can be used to add support for custom post types or taxonomies.
apply_filters( 'available_permalink_structure_tags', string[] $available_tags ) #
Filters the list of available permalink structure tags on the Permalinks settings page.
Contents
Parameters
- $available_tags
(string[])An array of key => value pairs of available permalink structure tags.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |