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:

Description

Sanitizes all bookmark fields.

Related Functions

sanitize_bookmark_field, sanitize_meta, sanitize_email, get_bookmark, sanitize_hex_color

Top Google Results

User discussions

wpseek mobile