the_shortlink WordPress Filter Hook
The Shortlink Wordpress hook is a great way to manage your links and improve your SEO. It allows you to add a shortlink to your posts and pages, which can be used to improve your link popularity and help your pages rank higher in search engines.
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. |