sanitize_bookmark
sanitize_bookmark ( $bookmark, $context = 'display' )
Parameters:- (stdClass|array) bookmark Bookmark row.
- (string) context Optional. How to filter the fields. Default 'display'.
Returns:- (stdClass|array) Same type as $bookmark but with fields sanitized.
Defined at: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Description
Sanitizes all bookmark fields.