make_clickable_rel хук-фильтр . WP 5.3.0
Filters the rel value that is added to URL matches converted to links.
Использование
add_filter( 'make_clickable_rel', 'filter_function_name_3327', 10, 2 ); function filter_function_name_3327( $rel, $url ){ // filter... return $rel; }
- $rel(строка)
- The rel value.
- $url(строка)
- The matched URL being converted to a link tag.
Список изменений
С версии 5.3.0 | Введена. |
Где вызывается хук
make_clickable_rel
make_clickable_rel
wp-includes/formatting.php 2869
$rel = apply_filters( 'make_clickable_rel', $rel, $url );
wp-includes/formatting.php 2910
$rel = apply_filters( 'make_clickable_rel', $rel, $dest );