date_rewrite_rules
date_rewrite_rules
Appears in: wordpress-4.0, wordpress-4.4, wordpress-4.8, wordpress-4.9, wordpress-4.9.4, wordpress-4.9.5, wordpress-4.9.6, wordpress-4.9.7, wordpress-4.9.8, wordpress-5.0, wordpress-5.0.1, wordpress-5.0.2, wordpress-5.0.3, wordpress-5.1, wordpress-5.1.1, wordpress-5.2, wordpress-5.2.1, wordpress-5.2.2, wordpress-5.2.3, wordpress-5.2.4, wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2, wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2, wordpress-5.5, wordpress-5.5.1, wordpress-5.5.2, wordpress-5.5.3, wordpress-5.6, wordpress-5.6.1, wordpress-5.6.2, wordpress-5.7, wordpress-5.7.1, wordpress-5.7.2, wordpress-5.8, wordpress-5.8.1, wordpress-5.8.2, wordpress-5.8.3, wordpress-5.9, wordpress-5.9.1, wordpress-5.9.2, wordpress-5.9.3, wordpress-6.0, wordpress-6.0.1, wordpress-6.0.2, wordpress-6.0.3, wordpress-6.1, wordpress-6.1.1, wordpress-6.2, wordpress-6.2.1, wordpress-6.2.2, wordpress-6.3, wordpress-6.3.1, wordpress-6.3.2, wordpress-6.4, wordpress-6.4.1, wordpress-6.4.2, wordpress-6.4.3, wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3, wordpress-6.5.4, wordpress-6.5.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7, wordpress-seo.14.0.1, wordpress-seo.14.0.2, wordpress-seo.14.0.4, wordpress-seo.14.1, wordpress-seo.14.2, wordpress-seo.14.3, wordpress-seo.14.4, wordpress-seo.14.5, wordpress-seo.14.6.1, wordpress-seo.14.7, wordpress-seo.14.8, wordpress-seo.14.8.1, wordpress-seo.14.9, wordpress-seo.15.0, wordpress-seo.15.1, wordpress-seo.15.1.1, wordpress-seo.15.2, wordpress-seo.15.2.1, wordpress-seo.15.3, wordpress-seo.15.4, wordpress-seo.15.5, wordpress-seo.15.6.2, wordpress-seo.15.7, wordpress-seo.15.8, wordpress-seo.15.9, wordpress-seo.15.9.1, wordpress-seo.15.9.2, wordpress-seo.16.0.1, wordpress-seo.16.0.2, wordpress-seo.16.1.1, wordpress-seo.16.2, wordpress-seo.16.3, wordpress-seo.16.4, wordpress-seo.16.5, wordpress-seo.16.6, wordpress-seo.16.6.1, wordpress-seo.16.7, wordpress-seo.16.8, wordpress-seo.16.9, wordpress-seo.17.0, wordpress-seo.17.1, wordpress-seo.17.2, wordpress-seo.17.2.1, wordpress-seo.17.3, wordpress-seo.17.4, wordpress-seo.18.3, wordpress-seo.18.4.1, wordpress-seo.18.5.1, wordpress-seo.18.7, wordpress-seo.18.8, wordpress-seo.19.0, wordpress-seo.19.1, wordpress-seo.19.10, wordpress-seo.19.11, wordpress-seo.19.13, wordpress-seo.19.2, wordpress-seo.19.3, wordpress-seo.19.5.1, wordpress-seo.19.6, wordpress-seo.19.6.1, wordpress-seo.19.7.1, wordpress-seo.19.7.2, wordpress-seo.19.8, wordpress-seo.19.9, wordpress-seo.20.1, wordpress-seo.20.10, wordpress-seo.20.11, wordpress-seo.20.12, wordpress-seo.20.2.1, wordpress-seo.20.3, wordpress-seo.20.5, wordpress-seo.20.6, wordpress-seo.20.7, wordpress-seo.20.8, wordpress-seo.21.0, wordpress-seo.21.1, wordpress-seo.21.2, wordpress-seo.21.4, wordpress-seo.21.5, wordpress-seo.21.7, wordpress-seo.21.8, wordpress-seo.21.8.1, wordpress-seo.21.9.1, wordpress-seo.22.0, wordpress-seo.22.1, wordpress-seo.22.2, wordpress-seo.22.3, wordpress-seo.22.6, wordpress-seo.22.8, wordpress-seo.22.9, wordpress-seo.23.0, wordpress-seo.23.2, wordpress-seo.23.3, wordpress-seo.23.4, wordpress-seo.23.6, wordpress-seo.23.8
Hook Type: filter
Displaying hooks found in version: wordpress-seo.23.8apply_filters('date_rewrite_rules') is found 1 times:
- /src/surfaces/meta-surface.php line 367
$path = \ltrim( $path, '/' ); $wp_rewrite = $this->wp_rewrite_wrapper->get(); $date_rewrite = $wp_rewrite->generate_rewrite_rules( $wp_rewrite->get_date_permastruct(), \EP_DATE ); $date_rewrite = \apply_filters( 'date_rewrite_rules', $date_rewrite ); foreach ( (array) $date_rewrite as $match => $query ) { if ( \preg_match( "#^$match#", $path ) ) { return true; } }