On this page
apply_filters( 'the_shortlink', string $link, string $shortlink, string $text, string $title )
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
File: wp-includes/link-template.php. View all references
$link = apply_filters( 'the_shortlink', $link, $shortlink, $text, $title );
Related
Used By
| Used By | Description |
|---|---|
| the_shortlink() wp-includes/link-template.php | Displays the shortlink for a post. |
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