WordPress at Your Fingertips
filter is not described

author_rewrite_rules filter-hook . WP 1.5.0

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.


add_filter( 'author_rewrite_rules', 'filter_function_name_3506' );
function filter_function_name_3506( $author_rewrite ){
	// filter...

	return $author_rewrite;
Array of rewrite rules for author archives, keyed by their regex pattern.

Where the hook is called

wp-includes/class-wp-rewrite.php 1384
$author_rewrite = apply_filters( 'author_rewrite_rules', $author_rewrite );

Where in WP core the hook is used WordPress

Usage not found.