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
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_shortlink