WPDev.one
Core Function
View Source on Trac ↗

get_bookmark_field()

get_bookmark_field( mixed $field, mixed $bookmark, mixed $context = 'display' )

Retrieves single bookmark data item or field.

Parameters 2 required

Name / Type Description
$field
string

The name of the data field to return.

Required
$bookmark
int

The bookmark ID to get field.

Required
$context
string

Optional. The context of how the field will be used. Default 'display'.

Return Value

((string)
| WP_Error)

Function Information

Since Version
2.3.0
Source File
wp-includes/bookmark.php
Advertisement