Wordpress draft & pending posts not showing
<p>I have third party authors and they cannot publish posts - they have to submit them for review and I then review &amp; publish them.</p>

<p>The posts are tied together &amp; associated with each other, in a course>lesson>topic manner. In the backend, theres an 'associated content' meta box which shows the related posts in that course>lesson>topic structure. </p>

<p>Because the posts aren't fully published, they are not appearing in the 'associated content' meta box. This makes it impossible for the author to see the structure of their course.</p>

<p>Is there a way to get this 'associated content' meta box to pick up the unpublished/draft/pending posts?</p>

<p>The code I am dealing with is:</p>

<pre><code>function learndash_course_navigation_admin_box() {
$post_types = array('sfwd-courses', 'sfwd-lessons', 'sfwd-quiz', 'sfwd-topic'); foreach( $post_types as $post_type ) {
    add_meta_box( 'learndash_course_navigation_admin_meta', __( 'Associated Content', 'learndash' ), 'learndash_course_navigation_admin_box_content', $post_type, 'side', 'high' );
}}add_action( 'add_meta_boxes', 'learndash_course_navigation_admin_box' );
</code></pre>

<p>Can anyone offer a snippet to add to functions.php to modify the query?</p>

<p>Thanks very much</p>