apply_filters_deprecated( 'rewrite_rules', string $rules )
- Since
- 1.5.0
Filters the list of rewrite rules formatted for output to an .htaccess file.
Parameters
$rulesstring- mod_rewrite Rewrite rules formatted for .htaccess.
Fired at · 1
wp-includes/class-wp-rewrite.php:1615WP_Rewrite::mod_rewrite_rules()
Source
* * @since 1.5.0 * @deprecated 1.5.0 Use the {@see 'mod_rewrite_rules'} filter instead. * * @param string $rules mod_rewrite Rewrite rules formatted for .htaccess. */ return apply_filters_deprecated( 'rewrite_rules', array( $rules ), '1.5.0', 'mod_rewrite_rules' ); } /** * Retrieves IIS7 URL Rewrite formatted rewrite rules to write to web.config file. * * Does not actually write to the web.config file, but creates the rules forHistory
Introduced in 1.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
1.5.0
Deprecated. Use the 'mod_rewrite_rules' filter instead.from the docblock
1.5.0
Introduced.from the docblock
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.