update_metadata_by_mid


update_metadata_by_mid ( $meta_type, $meta_id, $meta_value, $meta_key = false )

Parameters:
  • (string) $meta_type Type of object metadata is for (e.g., comment, post, or user)
  • (int) $meta_id ID for a specific meta row
  • (string) $meta_value Metadata value
  • (string) $meta_key Optional, you can provide a meta key to update it
Returns:
  • (bool) True on successful update, false on failure.
Defined at:

Description

Update meta data by meta ID

Related Functions

delete_metadata_by_mid, get_metadata_by_mid, update_metadata, update_meta, delete_metadata

Top Google Results

User discussions

wpseek mobile