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

Glossary Term

metadata_exists()

3 tags 1 category

metadata_exists() — Determines if a meta field with the given key exists for the given object ID.

Inputs: $meta_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_id (int): ID of the object metadata is for. $meta_key (string): Metadata key.

Returns bool: Whether a meta field with the given key exists.

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…