W3cubDocs

/WordPress

wp_rel_nofollow_callback( array $matches )

This function has been deprecated. Use wp_rel_callback() instead.

Callback to add rel="nofollow" string to HTML A element.

Parameters

$matches

(array) (Required) Single match.

Return

(string) HTML A Element with rel="nofollow".

Source

File: wp-includes/formatting.php

function wp_rel_nofollow_callback( $matches ) {
	return wp_rel_callback( $matches, 'nofollow' );
}

Changelog

Version Description
5.3.0 Use wp_rel_callback()
2.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_rel_nofollow_callback