edit_bookmark_link filter-hookWP 2.7.0

Filters the bookmark edit link anchor tag.

Usage

add_filter( 'edit_bookmark_link', 'wp_kama_edit_bookmark_link_filter', 10, 2 );

/**
 * Function for `edit_bookmark_link` filter-hook.
 * 
 * @param string $link    Anchor tag for the edit link.
 * @param int    $link_id Bookmark ID.
 *
 * @return string
 */
function wp_kama_edit_bookmark_link_filter( $link, $link_id ){

	// filter...
	return $link;
}
$link(string)
Anchor tag for the edit link.
$link_id(int)
Bookmark ID.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

edit_bookmark_link()
edit_bookmark_link
wp-includes/link-template.php 1714
echo $before . apply_filters( 'edit_bookmark_link', $link, $bookmark->link_id ) . $after;

Where the hook is used in WordPress

Usage not found.