title: PHP: Getting data out of an object
body: <p>How can I get the <code>user_nicename</code> from this object?</p>
  
  <pre><code>BP_User Object
  (
      [data] =&gt; stdClass Object
          (
              [ID] =&gt; 1
              [user_login] =&gt; NICENICE
              [user_pass] =&gt; $P$BwLHvV7zxcZZ/zW7MY0NXNSmANP.U5.
              [user_nicename] =&gt; NICENAME
              ...
  </code></pre>
  
  <p>And where can I find resources to learn this?</p>