title: how I can get object in var with php
body: <p>I use this wordpress function </p>
  
  <pre><code>$all_meta_for_user = get_user_meta( $user-&gt;ID );
  $city = $all_meta_for_user['dokan_profile_settings'][0];
  print_r( $city );
  </code></pre>
  
  <p>this what I get </p>
  
  <blockquote>
    <p>a:11:{s:10:"store_name";s:14:"test_trioszhrt";s:6:"social";a:0:{}s:7:"payment";a:0:{}s:5:"phone";s:8:"12541025";s:10:"show_email";s:2:"no";s:7:"address";a:6:{s:8:"street_1";s:8:"kkloadaa";s:8:"street_2";s:0:"";s:4:"city";s:7:"tunisia";s:3:"zip";s:1:"1";s:7:"country";s:2:"NP";s:5:"state";s:3:"GAN";}s:8:"location";s:0:"";s:6:"banner";i:0;s:12:"find_address";s:0:"";s:14:"dokan_category";s:0:"";s:9:"store_ppp";i:10;}</p>
  </blockquote>
  
  <p>I want to get only city?
  how I can do this?</p>