title: Didn't get the current userid using wordpress api call
body: <p>Wordpress user is login in the chrome browser and call custom  api created using 
  wp-json plugin from the chrome extension but in the api file i didn't get the current user id using the  get_current_user_id().  </p>