WP_MatchesMapRegex::apply

SummerySummery

Substitute substring matches in subject.

Syntax

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

DescriptionDescription

static helper function to ease use

ParametersParameters

$subject

(string) (Required) subject

$matches

(array) (Required) data used for substitution

ReturnReturn

(string)

SourceSource

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


			
Scroll to Top