WPDev.one
Core Function
View Source on Trac ↗

wp_rel_callback()

wp_rel_callback( mixed $matches, mixed $rel )

Callback to add a rel attribute to HTML A element.

Parameters 2 required

Name / Type Description
$matches
array

Single match.

Required
$rel
string

The rel attribute to add.

Required

Return Value

(string)
HTML A element with the added rel attribute.

Function Information

Since Version
5.3.0
Source File
wp-includes/formatting.php
Advertisement