Summery Summery
Injects rel=shortlink into the head if a shortlink is defined for the current page.
Syntax Syntax
Description Description
Attached to the ‘wp_head’ action.
Source Source
File: wp-includes/link-template.php
/** * Filters the shortlink for a post. * * @since 3.0.0 * * @param string $shortlink Shortlink URL. * @param int $id Post ID, or 0 for the current post. * @param string $context The context for the link. One of 'post' or 'query',
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |