_make_clickable_rel_attr


_make_clickable_rel_attr ( $url )

Parameters:
  • (string) url The URL.
Returns:
  • (string) The rel attribute for the anchor or an empty string if no rel attribute should be added.
Defined at:

Description

Helper function used to build the "rel" attribute for a URL when creating an anchor using make_clickable().

Related Functions

make_clickable, _make_url_clickable_cb, _make_email_clickable_cb, wp_make_link_relative, _make_web_ftp_clickable_cb

Top Google Results

User discussions

wpseek mobile