get_edit_bookmark_link filter-hookWP 2.7.0

Filters the bookmark edit link.

Usage

add_filter( 'get_edit_bookmark_link', 'wp_kama_get_edit_bookmark_link_filter', 10, 2 );

/**
 * Function for `get_edit_bookmark_link` filter-hook.
 * 
 * @param string $location The edit link.
 * @param int    $link_id  Bookmark ID.
 *
 * @return string
 */
function wp_kama_get_edit_bookmark_link_filter( $location, $link_id ){

	// filter...
	return $location;
}
$location(string)
The edit link.
$link_id(int)
Bookmark ID.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

get_edit_bookmark_link()
get_edit_bookmark_link
wp-includes/link-template.php 1680
return apply_filters( 'get_edit_bookmark_link', $location, $link->link_id );

Where the hook is used in WordPress

Usage not found.