title: Get and display a specific Meta Data item for a current user in Wordpress
body: <p>i am trying to get and display a specific meta data item for a user in wordpress. The value for the data i want to get is that for Event Date. I tried the following code but no luck</p>
  
  <pre><code>&lt;?php 
    $user_ID = get_current_user_id();
    $key = 'Event Date';
    $single = true;
    $user_last = get_user_meta( $user_id, $key, $single ); 
    echo '&lt;p&gt;The '. $key . ' value for user id ' . $user_id . ' is: ' . $user_last . '&lt;/p&gt;'; 
  ?&gt;
  </code></pre>
  
  <p>Where Event Date is the custom meta field Ive added to the user profile.</p>
  
  <p>Please help</p>