Title: make_clickable_rel
Published: November 12, 2019
Last modified: February 24, 2026

---

# apply_filters( ‘make_clickable_rel’, string $rel, string $url )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/make_clickable_rel/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/make_clickable_rel/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/make_clickable_rel/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/make_clickable_rel/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/make_clickable_rel/?output_format=md#wp--skip-link--target)

Filters the rel value that is added to URL matches converted to links.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/make_clickable_rel/?output_format=md#parameters)󠁿

 `$rel`string

The rel value.

`$url`string

The matched URL being converted to a link tag.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/make_clickable_rel/?output_format=md#source)󠁿

    ```php
    $rel = apply_filters( 'make_clickable_rel', $rel, $url );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/formatting.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/formatting.php#L3067)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/formatting.php#L3067-L3067)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/make_clickable_rel/?output_format=md#related)󠁿

| Used by | Description | 
| [_make_clickable_rel_attr()](https://developer.wordpress.org/reference/functions/_make_clickable_rel_attr/)`wp-includes/formatting.php` |

Helper function used to build the “rel” attribute for a URL when creating an anchor using [make_clickable()](https://developer.wordpress.org/reference/functions/make_clickable/) .

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/make_clickable_rel/?output_format=md#changelog)󠁿

| Version | Description | 
| [5.3.0](https://developer.wordpress.org/reference/since/5.3.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fmake_clickable_rel%2F)
before being able to contribute a note or feedback.