W3cubDocs

/WordPress

get_shortcut_link(): string

Retrieves the Press This bookmarklet link.

Return

string

Source

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 );
}

Hooks

apply_filters( ‘shortcut_link’, string $link )

Filters the Press This bookmarklet link.

Changelog

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

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