post_format_rewrite_base WordPress Filter Hook

This hook is used to filter the base for post format archives. This hook is used to filter the base for post format archives. By default, the base for post format archives is "type", but this can be changed by using this hook.

apply_filters( 'post_format_rewrite_base', string $context ) #

Filters the post formats rewrite base.


Parameters

$context

(string)Context of the rewrite base. Default 'type'.


Top ↑

Source

File: wp-includes/taxonomy.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.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.

Show More
Show More