Advertisements

get_edit_bookmark_link

Definition:
function get_edit_bookmark_link( $link = 0 ) {}

Display edit bookmark (literally a URL external to blog) link.

Parameters

  • int $link: Optional. Bookmark ID.

Defined filters

  • get_edit_bookmark_link
    apply_filters( 'get_edit_bookmark_link', $location, $link->link_id )

Source code

function get_edit_bookmark_link( $link = 0 ) {

	$link = get_bookmark( $link );



	if ( !current_user_can('manage_links') )

		return;



	$location = admin_url('link.php?action=edit&link_id=') . $link->link_id;

	return apply_filters( 'get_edit_bookmark_link', $location, $link->link_id );

}

1376

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: