WordPress at a glance
function is not described

WP_MatchesMapRegex::__construct() public WP 1.0

constructor

{} It's a method of the class: WP_MatchesMapRegex{}

No Hooks.

Return

null. Nothing.

Usage

$WP_MatchesMapRegex = new WP_MatchesMapRegex();
$WP_MatchesMapRegex->__construct( $subject, $matches );
$subject(string) (required)
subject if regex
$matches(array) (required)
data to use in map

Code of WP_MatchesMapRegex::__construct() WP 5.7.2

<?php
public function __construct( $subject, $matches ) {
	$this->_subject = $subject;
	$this->_matches = $matches;
	$this->output   = $this->_map();
}