How do I query a single data value from the wp_metadata table?
You need to use get_post_meta: get_post_meta( $post_id, $key = ”, $single = false ) Retrieve post meta field for a post $post_id (int) (Required) Post ID. $key (string) (Optional) The meta key to retrieve. By default, returns data for all keys. Default value: ” $single (bool) (Optional) Whether to return a single value. Default value: … Read more