Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get shortcut link

This page redirects to an external site: https://developer.wordpress.org/reference/functions/get_shortcut_link/

Description

Retrieve the Press This bookmarklet link. This is only really useful on Administration Screens.

Usage

<code style="color: #000000"><span style="color: #0000BB"><?php get_shortcut_link</span><span style="color: #007700">() </span><span style="color: #0000BB">?></span></code>

Parameters

None.

Return Values

(string) 
The URL of the "Press This" bookmarklet.

Examples

<a href="<?php echo get_shortcut_link() ?>"><?php _e('Press This') ?></a>

Change Log

Since: 2.6.0

Source File

get_shortcut_link() is located in wp-includes/link-template.php.

Related

See also index of Function Reference and index of Template Tags.
This page is marked as incomplete. You can help Codex by expanding it.