get_bookmark
get_bookmark ( $bookmark, $output = OBJECT, $filter = 'raw' )
Parameters:- (int|stdClass) bookmark
- (string) output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to an stdClass object, an associative array, or a numeric array, respectively. Default OBJECT.
- (string) filter Optional. How to sanitize bookmark fields. Default 'raw'.
Returns:- (array|object|null) Type returned depends on $output value.
Defined at: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Retrieves bookmark data.