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

constructor

Parameters

$subject

(string) (Required) subject if regex

$matches

(array) (Required) data to use in map

Return

(self)

Source

File: wp-includes/class-wp.php

/**
	 * Sets up all of the variables required by the WordPress environment.
	 *
	 * The action {@see 'wp'} has one parameter that references the WP object. It
	 * allows for accessing the properties and methods to further manipulate the

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_matchesmapregex/wp_matchesmapregex