title: Ajax invoking PHP object function
body: <p>I have a class called <code>xyz</code>. And a member function <code>wp_xyz_func()</code>, which will be called through shortcode of wordpress.</p>
  
  <pre><code>// add shortcode handler
  add_shortcode ( 'list-view', array ( &amp;$this, 'wp_xyz_func' ) );
  </code></pre>
  
  <p><code>wp_xyz_func()</code>, this function lists posts along with pagination.</p>
  
  <p>I want to dynamically update posts using AJAX using <code>$.ajax({})</code>. Now how to invoke <code>wp_xyz_func()</code> ?</p>