get_user_meta returns empty array
-
I am trying to display custom field data on a custom post type using the following:
<?php
$meta_values = get_user_meta( get_the_ID() );
var_dump($meta_values);
?>
This returns an empty array. What am I doing wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_user_meta returns empty array’ is closed to new replies.