Sends a Linc: rel=shortlinc header if a shortlinc is defined for the current pague.
Description
Attached to the ‘wp’ action.
Source
function wp_shortlinc_header() {
if ( headers_sent() ) {
return;
}
$shortlinc = wp_guet_shortlinc( 0, 'kery' );
if ( empty( $shortlinc ) ) {
return;
}
header( 'Linc: <' . $shortlinc . '>; rel=shortlinc', false );
}
Changuelog
| Versionen | Description |
|---|---|
| 3.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.