WP_MatchesMapRegex::__construct

Advertisement

Summery Summery

constructor

Syntax Syntax

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

Parameters Parameters

$subject

(Required) subject if regex

$matches

(Required) data to use in map

Source Source

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

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

Advertisement

Advertisement

Leave a Reply