wordpress / latest / hooks / the_shortlink.html

apply_filters( 'the_shortlink', string $link, string $shortlink, string $text, string $title )

Filters the short link anchor tag for a post.

Parameters

$link string
Shortlink anchor tag.
$shortlink string
Shortlink URL.
$text string
Shortlink's text.
$title string
Shortlink's title attribute.

Source

File: wp-includes/link-template.php. View all references

$link = apply_filters( 'the_shortlink', $link, $shortlink, $text, $title );

Used By

Used By Description

Changelog

Version Description
3.0.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_shortlink