get_shortlink – filter
Filters the shortlink for a post.
Parameters
- .
- ( 3.0.0 ) . .
- $shortlink
- ( string ) Shortlink URL. . . .
- ( int ) $id Post ID, or 0 for the current post. . . .
- $context
- ( string ) The context for the link. One of ‘post’ or ‘query’, . . .
- ( bool ) $allow_slugs Whether to allow post slugs in the shortlink. Not used by default. . . .