title: password protect wordpress posts with custom post type by default
body: <p>i try to realize the following: posts with a custom post type should be password-protected by default</p>
  
  <p>i found this which works great
  <a href="https://wordpress.stackexchange.com/questions/4952/forcing-all-posts-associated-with-a-custom-post-type-to-be-private">https://wordpress.stackexchange.com/questions/4952/forcing-all-posts-associated-with-a-custom-post-type-to-be-private</a></p>
  
  <p>but i dont want the posts to be private so i chanced</p>
  
  <pre><code>$post-&gt;post_status = 'private';
  $post-&gt;post_password = 'some_default_password';
  </code></pre>
  
  <p>to</p>
  
  <pre><code>$post-&gt;post_status = 'published';
  $post-&gt;post_password = 'some_default_password';
  </code></pre>
  
  <p>but then there is no password protection</p>
  
  <p>how can i get this done?</p>