Uses
Uses | Description |
---|---|
wp-includes/class-wp-matchesmapregex.php: WP_MatchesMapRegex::__construct() | constructor |
Substitute substring matches in subject.
static helper function to ease use
(string) (Required) subject
(array) (Required) data used for substitution
(string)
File: wp-includes/class-wp-matchesmapregex.php
public static function apply( $subject, $matches ) { $oSelf = new WP_MatchesMapRegex( $subject, $matches ); return $oSelf->output; }
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_matchesmapregex/apply