ID, '_slms_parent_course', true ); $sort_order = get_post_meta( $post->ID, '_slms_sort_order', true ); // Only parents this user can edit (plus the current one), so an instructor sees their own. $courses = Capabilities::filter_parent_options( get_posts( array( 'post_type' => 'slms_course', 'posts_per_page' => -1, 'post_status' => array( 'publish', 'draft' ), 'orderby' => 'title', 'order' => 'ASC', ) ), (int) $parent_course ); ?>