wp_rel_callback


wp_rel_callback ( $matches, $rel )

Parameters:
  • (array) $matches Single match.
  • (string) $rel The rel attribute to add.
Returns:
  • (string) HTML A element with the added rel attribute.
Defined at:

Description

Callback to add a rel attribute to HTML A element.

Will remove already existing string before adding to prevent invalidating (X)HTML.

Related Functions

wp_rel_nofollow_callback, _wp_kses_split_callback, _sort_name_callback, _sort_uname_callback, wp_targeted_link_rel_callback

Top Google Results

User discussions

wpseek mobile