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.


Parameters

$available_tags

(string[])An array of key => value pairs of available permalink structure tags.


Top ↑

Source

File: wp-admin/options-permalink.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
4.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.