Callback to add rel="nofollow" string to HTML A element.
$matchesarrayrequired
rel="nofollow".function wp_rel_nofollow_callback( $matches ) {
return wp_rel_callback( $matches, 'nofollow' );
}
| Version | Description |
|---|---|
| 5.3.0 | Use wp_rel_callback() |
| 2.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_rel_nofollow_callback