Summery Summery
Adds a rewrite rule that doesn’t correspond to index.php.
Syntax Syntax
Parameters Parameters
- $regex
-
(Required) Regular expression to match request against.
- $query
-
(Required) The corresponding query vars for this rewrite rule.
Source Source
File: wp-includes/class-wp-rewrite.php
* @param string $query The corresponding query vars for this rewrite rule. */ public function add_external_rule( $regex, $query ) {
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |