WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about comments_rewrite_rules

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-rewrite.php apply_filters 1354 /**
* Filters rewrite rules used for comment feed archives.
*
* Likely comments feed archives include `/comments/feed/` and `/comments/feed/atom/`.
*
* @since 1.5.0
*
* @param string[] $comments_rewrite Array of rewrite rules for the site-wide comments feeds, keyed by their regex pattern.
*/

Hook Parameters

Parameter Type Name Description
string[] $comments_rewrite Array of rewrite rules for the site-wide comments feeds, keyed by their regex pattern.