WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about make_clickable_rel

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/formatting.php apply_filters 2933 /**
* Filters the rel value that is added to URL matches converted to links.
*
* @since 5.3.0
*
* @param string $rel The rel value.
* @param string $url The matched URL being converted to a link tag.
*/
wp-includes/formatting.php apply_filters 2974 /**
* Callback to convert URL match to HTML A element.
*
* This function was backported from 2.5.0 to 2.3.2. Regex callback for make_clickable().
*
* @since 2.3.2
* @access private
*
* @param array $matches Single Regex Match.
* @return string HTML A element with URL address.
*/

Hook Parameters

Parameter Type Name Description
string $rel The rel value.
string $url The matched URL being converted to a link tag.
string $rel The rel value.
string $url The matched URL being converted to a link tag.