wp_rel_nofollow_callback()WP 2.3.0

Deprecated from version 5.3.0. It is no longer supported and can be removed in future releases. Use wp_rel_callback() instead.

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

No Hooks.

Return

String. HTML A Element with rel="nofollow".

Usage

wp_rel_nofollow_callback( $matches );
$matches(array) (required)
Single match.

Changelog

Since 2.3.0 Introduced.
Deprecated since 5.3.0 Use wp_rel_callback()

wp_rel_nofollow_callback() code WP 6.5.2

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