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

Replace characters or phrases within HTML elements only.

Related Functions

do_shortcodes_in_html_tags, wp_create_tag, _wp_render_title_tag, wp_resource_hints, _wp_admin_html_begin

Top Google Results

User discussions

wpseek mobile