WP_MatchesMapRegex::__construct( string $subject, array $matches )
constructor
Parameters
-
$subject
string Required -
subject if regex
-
$matches
array Required -
data to use in map
Source
File: wp-includes/class-wp-matchesmapregex.php
.
View all references
public function __construct( $subject, $matches ) {
$this->_subject = $subject;
$this->_matches = $matches;
$this->output = $this->_map();
}