get_bookmark_field

SummerySummery

Retrieve single bookmark data item or field.

Syntax

get_bookmark_field( string $field, int $bookmark, string $context = 'display' )

ParametersParameters

$field

(string) (Required) The name of the data field to return

$bookmark

(int) (Required) The bookmark ID to get field

$context

(string) (Optional) The context of how the field will be used.

Default value: 'display'

ReturnReturn

(string|WP_Error)

SourceSource

File: wp-includes/bookmark.php


			

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top