wp_rel_nofollow_callback( array $matches ): string

In this article

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

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

Parameters

$matchesarrayrequired
Single match.

Return

string HTML A Element with rel="nofollow".

Source

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

Changelog

VersionDescription
5.3.0Use wp_rel_callback()
2.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.