WordPress at a glance
function is not described

get_bookmark_field() WP 2.3.0

Retrieve single bookmark data item or field.

No Hooks.




get_bookmark_field( $field, $bookmark, $context );
$field(string) (required)
The name of the data field to return
$bookmark(int) (required)
The bookmark ID to get field
The context of how the field will be used.
Default: 'display'

Code of get bookmark field: wp-includes/bookmark.php VER 5.0.3

function get_bookmark_field( $field, $bookmark, $context = 'display' ) {
	$bookmark = (int) $bookmark;
	$bookmark = get_bookmark( $bookmark );

	if ( is_wp_error($bookmark) )
		return $bookmark;

	if ( !is_object($bookmark) )
		return '';

	if ( !isset($bookmark->$field) )
		return '';

	return sanitize_bookmark_field($field, $bookmark->$field, $bookmark->link_id, $context);