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

(string[]) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?