comments_rewrite_rules

comments_rewrite_rules

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('comments_rewrite_rules') is found 1 times:

  • /wp-includes/class-wp-rewrite.php line 1362
    		 * @since 1.5.0
    		 *
    		 * @param string[] $comments_rewrite Array of rewrite rules for the site-wide comments feeds, keyed by their regex pattern.
    		 */
    		$comments_rewrite = apply_filters( 'comments_rewrite_rules', $comments_rewrite );
    
    		// Search rewrite rules.
    		$search_structure = $this->get_search_permastruct();
    		$search_rewrite   = $this->generate_rewrite_rules( $search_structure, EP_SEARCH );
    
    		/**