wp_replace_in_html_tags


wp_replace_in_html_tags ( $haystack, $replace_pairs )

Parameters:
  • (string) haystack The text which has to be formatted.
  • (array) replace_pairs In the form array('from' => 'to', ...).
Returns:
  • (string) The formatted text.
Defined at:

Description

Replaces characters or phrases within HTML elements only.

Related Functions

do_shortcodes_in_html_tags, wp_replace_insecure_home_url, wp_prepare_site_data, wp_create_tag, wp_resource_hints

Top Google Results

User discussions

wpseek mobile