wpseek.com
A WordPress-centric search engine for devs and theme authors



the_shortlink › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
apply_filters( 'the_shortlink', $link, $shortlink, $text, $title )
Parameters: (4)
  • (string) $link Shortlink anchor tag.
    Required: Yes
  • (string) $shortlink Shortlink URL.
    Required: Yes
  • (string) $text Shortlink's text.
    Required: Yes
  • (string) $title Shortlink's title attribute.
    Required: Yes
Defined at:
Codex:

Filters the short link anchor tag for a post.





Source

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