apply_filters( ‘the_shortlink’, string $link, string $shortlink, string $text, string $title )

In this article

Filters the short link anchor tag for a post.

Parameters

$linkstring
Shortlink anchor tag.
$shortlinkstring
Shortlink URL.
$textstring
Shortlink’s text.
$titlestring
Shortlink’s title attribute.

Source

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

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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