W3cubDocs

/WordPress

get_shortcut_link()

This function has been deprecated.

Retrieves the Press This bookmarklet link.

Source

File: wp-includes/deprecated.php

function get_shortcut_link() {
	_deprecated_function( __FUNCTION__, '4.9.0' );

	$link = '';

	/**
	 * Filters the Press This bookmarklet link.
	 *
	 * @since 2.6.0
	 * @deprecated 4.9.0
	 *
	 * @param string $link The Press This bookmarklet link.
	 */
	return apply_filters( 'shortcut_link', $link );
}

Changelog

Version Description
4.9.0 This function has been deprecated.
2.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_shortcut_link