sanitize_meta


sanitize_meta ( $meta_key, $meta_value, $object_type, $object_subtype = '' )

Parameters:
  • (string) $meta_key Meta key.
  • (mixed) $meta_value Meta value to sanitize.
  • (string) $object_type Type of object the meta is registered to.
  • (string) $object_subtype Optional. The subtype of the object type.
Returns:
  • (mixed) Sanitized $meta_value.
Defined at:
Change Log:
  • 4: .

Description

Sanitize meta value.

Related Functions

sanitize_email, sanitize_key, sanitize_term, sanitize_user, sanitize_post

Top Google Results

User discussions

wpseek mobile