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'.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |