author_rewrite_rules

author_rewrite_rules

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('author_rewrite_rules') is found 1 times:

  • /wp-includes/class-wp-rewrite.php line 1393
    		 * @since 1.5.0
    		 *
    		 * @param string[] $author_rewrite Array of rewrite rules for author archives, keyed by their regex pattern.
    		 */
    		$author_rewrite = apply_filters( 'author_rewrite_rules', $author_rewrite );
    
    		// Pages rewrite rules.
    		$page_rewrite = $this->page_rewrite_rules();
    
    		/**
    		 * Filters rewrite rules used for "page" post type archives.