WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about author_rewrite_rules

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-rewrite.php apply_filters 1385 /**
* Filters rewrite rules used for author archives.
*
* Likely author archives would include `/author/author-name/`, as well as
* pagination and feed paths for author archives.
*
* @since 1.5.0
*
* @param string[] $author_rewrite Array of rewrite rules for author archives, keyed by their regex pattern.
*/

Hook Parameters

Parameter Type Name Description
string[] $author_rewrite Array of rewrite rules for author archives, keyed by their regex pattern.