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

Glossary Term

update_metadata_by_mid()

3 tags 1 category

update_metadata_by_mid() — Updates metadata by meta 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. $meta_id (int): ID for a specific meta row. $meta_value (string): Metadata value. Must be serializable if non-scalar. $meta_key (string|false): Optional. You can provide a meta key to update it. Default false.

Returns bool: True on successful update, false on failure.

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…