sanitize_bookmark


sanitize_bookmark ( $bookmark, $context = 'display' )

Parameters:
  • (stdClass|array) $bookmark Bookmark row
  • (string) $context Optional, default is 'display'. How to filter the fields
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, sanitize_url, sanitize_hex_color

Top Google Results

User discussions

wpseek mobile