Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

sanitize_meta()

3 tags 1 category

sanitize_meta() — Sanitizes meta value.

Inputs: $meta_key (string): Metadata key. $meta_value (mixed): Metadata value to sanitize. $object_type (string): Type of object metadata is for. Accepts ‘blog’, ‘post’, ‘comment’, ‘term’, ‘user’, or any other object type with an associated meta table. $object_subtype (string): Optional. The subtype of the object type. Default empty string.

Returns mixed: Sanitized $meta_value.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…