Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/meta.php | do_action | 334 | /** * Fires immediately after updating metadata of a specific type. * * The dynamic portion of the hook name, `$meta_type`, refers to the meta object type * (post, comment, term, user, or any other type with an associated meta table). * * Possible hook names include: * * - `updated_post_meta` * - `updated_comment_meta` * - `updated_term_meta` * - `updated_user_meta` * * @since 2.9.0 * * @param int $meta_id ID of updated metadata entry. * @param int $object_id ID of the object metadata is for. * @param string $meta_key Metadata key. * @param mixed $_meta_value Metadata value. */ |
wp-includes/meta.php | do_action | 953 | /** * Short-circuits updating metadata of a specific type by meta ID. * * The dynamic portion of the hook name, `$meta_type`, refers to the meta object type * (post, comment, term, user, or any other type with an associated meta table). * Returning a non-null value will effectively short-circuit the function. * * Possible hook names include: * * - `update_post_metadata_by_mid` * - `update_comment_metadata_by_mid` * - `update_term_metadata_by_mid` * - `update_user_metadata_by_mid` * * @since 5.0.0 * * @param null|bool $check Whether to allow updating metadata for the given type. * @param int $meta_id Meta ID. * @param mixed $meta_value Meta value. Must be serializable if non-scalar. * @param string|false $meta_key Meta key, if provided. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $meta_id | ID of updated metadata entry. |
int | $object_id | ID of the object metadata is for. |
string | $meta_key | Metadata key. |
mixed | $_meta_value | Metadata value. |
int | $meta_id | ID of updated metadata entry. |
int | $object_id | ID of the object metadata is for. |
string | $meta_key | Metadata key. |
mixed | $_meta_value | Metadata value. |