Thread Starter
Alex
(@alexrsoap)
In regards to the above:
https://developer.wordpress.org/reference/functions/get_metadata/ specifies that if null is passed for the meta_key, all meta for the object is returned, not one with a meta_key of null.
https://codex.wordpress.org/Function_Reference/update_post_meta has meta_key as a requred field