W3cubDocs

/WordPress

WP_MatchesMapRegex::_map(): string

do the actual mapping

Return

string

Source

private function _map() {
	$callback = array( $this, 'callback' );
	return preg_replace_callback( $this->_pattern, $callback, $this->_subject );
}

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