author_rewrite_rules

Advertisement

Summery Summery

Filters rewrite rules used for author archives.

Syntax Syntax

apply_filters( 'author_rewrite_rules', string[] $author_rewrite )

Description Description

Likely author archives would include /author/author-name/, as well as pagination and feed paths for author archives.

Parameters Parameters

$author_rewrite

Array of rewrite rules for author archives, keyed by their regex pattern.

Source Source

File: wp-includes/class-wp-rewrite.php

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Advertisement

Leave a Reply