title: If user has post, automatically go to post edit on login. If no post, automatically go to fill out new post
body: <p>Each user, except Admin, will only have one post each, a custom post type - which is a questionnaire fill-out. I already have the login redirecting to the custom post type page, but I'd like to go one step further and make it really easy for the user.</p>
  
  <p>If they are logging in for the first time, it would continue to redirect them to the custom post type page, but also auto click on the add custom post type button. </p>
  
  <p>If they have already begun the questionnaire, it would auto click the edit button.</p>
  
  <p>I have an auto click working elsewhere, but it's being triggered by a live click on another button.</p>
  
  <pre><code>jQuery('.steps-button').live('click', function() {
    jQuery("#publish").click();
  });
  </code></pre>
  
  <p>I've tried using <code>jQuery(".row-actions").find(".edit").click();</code> but it's not working.</p>
  
  <p>update, from functions.php</p>
  
  <pre><code> add_filter('login_redirect', 'plugin_admin_redirect'); 
   function plugin_admin_redirect($redirect_to, $url_redirect_to = '', $user = null) { 
   return 'http://mywebsite.com/wp-admin/edit.php?post_type=nanny_profile'; 
   }
  </code></pre>
  
  <p>earlier in functions.php I have under jQuery(document).ready</p>
  
  <pre><code>        jQuery(".row-actions").find(".edit").trigger('click');
  </code></pre>
  
  <p>Am I putting it in the wrong place, perhaps?</p>