Uses
Uses | Description |
---|---|
wp-includes/user.php: get_current_user_id() | Get the current user’s ID |
wp-includes/post.php: update_post_meta() | Updates a post meta field based on the given post ID. |
wp-includes/post.php: get_post() | Retrieves post data given a post ID or post object. |