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

constructor


Parameters Parameters

$subject

(string) (Required) subject if regex

$matches

(array) (Required) data to use in map


Top ↑

Source Source

File: wp-includes/class-wp-matchesmapregex.php

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


Top ↑

User Contributed Notes User Contributed Notes

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