W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
3.0.0 Introduced.

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