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

wp_rel_nofollow_callback( array $matches ): string

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


Parameters

$matches array Required
Single match.

Top ↑

Return

string HTML A Element with rel="nofollow".


Top ↑

Source

File: wp-includes/formatting.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
5.3.0 Use wp_rel_callback()
2.3.0 Introduced.

Top ↑

User Contributed Notes

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