shortcut_link filter-hookWP 2.6.0

Deprecated from version 4.9.0. It is no longer supported and can be removed in future releases. It is recommended to replace this hook with the same one.

Deprecated: 4.9.0

Filters the Press This bookmarklet link.

Usage

add_filter( 'shortcut_link', 'wp_kama_shortcut_link_filter' );

/**
 * Function for `shortcut_link` filter-hook.
 * 
 * @param string $link The Press This bookmarklet link.
 *
 * @return string
 */
function wp_kama_shortcut_link_filter( $link ){

	// filter...
	return $link;
}
$link(string)
The Press This bookmarklet link.

Changelog

Since 2.6.0 Introduced.
Deprecated 4.9.0

Where the hook is called

get_shortcut_link()
shortcut_link
wp-includes/deprecated.php 3932
return apply_filters( 'shortcut_link', $link );

Where the hook is used in WordPress

Usage not found.