sanitize_bookmark

SummerySummery

Sanitizes all bookmark fields

Syntax

sanitize_bookmark( stdClass|array $bookmark, string $context = 'display' )

ParametersParameters

$bookmark

(stdClass|array) (Required) Bookmark row

$context

(string) (Optional) How to filter the fields

Default value: 'display'

ReturnReturn

(stdClass|array) Same type as $bookmark but with fields sanitized.

SourceSource

File: wp-includes/bookmark.php


			

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top