llms_update_user_postmeta( int $user_id, int $post_id, string $meta_key, mixed $meta_value, bool $unique = true )
Update user postmeta data.
Description Description
Parameters Parameters
- $user_id
-
(Required) WP User ID.
- $post_id
-
(Required) WP Post ID.
- $meta_key
-
(Required) Meta key.
- $meta_value
-
(Required) Meta value (don't serialize serializable values).
- $unique
-
(Optional) If true, updates existing value (if it exists). If false, will add a new record (allowing multiple records with the same key to exist). Deafult true.
Default value: true
Return Return
(bool)
Source Source
File: includes/functions/llms.functions.user.postmeta.php
Changelog Changelog
Version | Description |
---|---|
3.21.0 | Introduced. |