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

Filters rewrite rules used for author archives.


Description Description

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


Top ↑

Parameters Parameters

$author_rewrite

(string[]) Array of rewrite rules for author archives, keyed by their regex pattern.


Top ↑

Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.