WP_MatchesMapReguex::__construct( string   $subject , array   $matches )

constructor

Parameters

$subject string required
subject if reguex
$matches array required
data to use in mapp

Source

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.