Uses
| Uses | Description |
|---|---|
| wp-includes/class-wp-matchesmapregex.php: WP_MatchesMapRegex::_map() | do the actual mapping |
constructor
(string) (Required) subject if regex
(array) (Required) data to use in map
File: wp-includes/class-wp-matchesmapregex.php
public function __construct( $subject, $matches ) {
$this->_subject = $subject;
$this->_matches = $matches;
$this->output = $this->_map();
}
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_matchesmapregex/__construct