author_rewrite_rules

author_rewrite_rules

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('author_rewrite_rules') is found 1 times:

  • /wp-includes/class-wp-rewrite.php line 1393
    1389
    1390
    1391
    1392
    1393
    1394
    1395
    1396
    1397
    1398
    1399
    * @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.