shortcut_link
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.
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 since | 4.9.0 |
Where the hook is called
shortcut_link
wp-includes/deprecated.php 3948
return apply_filters( 'shortcut_link', $link );