wp_targeted_link_rel_callback


wp_targeted_link_rel_callback ( $matches )

Parameters:
  • (array) $matches Single Match
Returns:
  • (string) HTML A Element with rel noreferrer noopener in addition to any existing values
Defined at:

Description

Callback to add rel="noreferrer noopener" string to HTML A element.

Will not duplicate existing noreferrer and noopener values to prevent from invalidating the HTML.

Related Functions

wp_targeted_link_rel, _wp_dashboard_control_callback, _sort_name_callback, _wp_kses_split_callback, wp_get_link_cats

Top Google Results

User discussions

wpseek mobile