Okay, I think to start you need to change line 470 of the file includes/admin/class-learndash-admin-binary-selector.php from:
'post_status' => array('publish'),
to
'post_status' => array('any'),
If this doesn’t work on its own, there may be other places you need to change this as well – do a global file search on ‘post_status’ and look for places where it’s set to ‘publish’. There are a lot of post_status calls throughout these files, many already set to ‘any’, so you’ll have to go through and change wherever necessary. If you don’t want to use ‘any’ here’s the list of options you can use in post_status.
Once you’ve made these changes you will likely need to deactivate/reactivate the plugin, and possibly go in to Settings > Permalinks and re-save. Be sure to make a backup of the files before you do all this of course. 🙂
Related Posts:
- How to Display a List of Users Who Have Made at Least 1 Post?
- Let private posts stay in status “private” after edit through “editors”
- Post/Page Publish/Update button not clickable once I make an edit
- How to add editor’s name to entry meta byline?
- How to Load Scripts and CSS for Admins Only When Editing or Adding Posts
- featuring old articles without messing up with the archive
- Setting post meta data to random value during post status transition / on publish
- Adding a Nav menu to post admin
- How to change post status from publish to draft using hook in wordpress?
- Hiding by default specific post status on backend list?
- How to after saving or publishing a post redirect back to the original page
- Enable commenting on front-end preview page for pending posts
- Custom Post Status Posts viewable to the public
- 2nd button row from WP Super Edit or TinyMCE Advanced doesn’t show to 2nd admin
- How can a guest view the “Pending Review” Post?
- How do I batch create revisions of all posts?
- add filter to “quick edit menu” in wordpress admin
- ‘transition_post_status’ only fires when pressing “Add New”
- What differences are there between a Privately Published post and a Draft post?
- Update post status from “publish” to “trash” for half of posts
- How can I set a Post’s default visibility to private and pending review checked
- how to remove dash (-) post status from post title on posts listing page wordpress
- How to change post status from frontend?
- Add the description field on the attached media
- Classic editor throws 403 error based on post content
- How to allow users to post only in certain category and hide elements from edit page?
- Posts and Attachments with “Published” status in Search
- Admin – create custom post status and display above table
- Restrict edit, but allow preview for custom post status
- WordPress capabilities on pending post status
- why there are so many posts whoes post_type is revision? will these records waste too much database space?
- $post->post_type not working
- how can i allow users to view their own pending posts in a front-end page
- Is there a query string for edit.php to show all posts that have no custom taxonomy terms?
- How can I add a box to edit Order on a regular post?
- Do one have to wait after pressing “update” on a post edit page?
- Is there a way getting post fields using `transition_post_status`
- What function publishes a post when you click the publish button?
- Post Status Frontend Announcement
- Display amount of pending posts in back/front end
- Showing posts for today and future
- Show Last Revision Of Post That Has A Published Status On Single Page
- How can I restore posts from ‘trash’ with their previous post_status? – WordPress
- Need help creating a page that has editable fields
- How to add text before post_excerpt in Gutenberg
- Select another post in a post meta like a parent page is selected while editing a page
- How to set a Post’s default visibility to ‘Private’ in Gutenberg?
- Updating post status via rest api
- link to edit a post has empty target
- Taxonomy checkboxes not showing current status on edit page
- How publish post from pending status
- Hide or remove custom post status
- Put page on Archived statut after end of publication date
- get_next_post() not working with future post status
- Function/filter or plugin to change post status based on custom field value
- Can’t create posts with WP DB Abstraction Plugin
- When I click edit on a post, all the content disappear. Does anyone know how to fix this?
- Text editor has problem with having ” in a post
- get_posts includes “auto drafts”?
- I am creating a front end dashboard where I need to show all the posts by the current user. So, I need to show posts in publish
- Post Format Status [closed]
- Do anything on post_status change [duplicate]
- Disable “Quick edit” for roles in WP dashboard
- editPost without undo entry
- REST API – Retrieving posts with custom status
- Implementing Soft Delete for Bulk Actions / Empty Trash
- How to restore post to pending status (no draft)
- Get WordPress post content by post id
- Get page ID of page that is set as the posts page
- Get Posts Under Custom Taxonomy
- How to limit the number of posts that WP_Query gets?
- Stop WordPress Wrapping Images In A “P” Tag
- When is the ‘post_content_filtered’ column in database cleared by WordPress?
- Turn a URL into an Attachment / Post ID
- GET the excerpt by ID
- Stop WordPress automatically adding tags to post content
- Determine if page is the Posts Page
- How to get ‘post_content’ without stripping tags?
- How to add an admin notice upon post save/update
- Print Current Post Index number within Loop
- Should we trust the post globals?
- Optimize post insert and delete for bulk operations?
- Get the Current Page Number
- How do you add thumbnail support for custom post types?
- How to mark every 3rd post
- Change Posts per page count
- Keep featured content post in homepage with original order
- How to display related posts from same category?
- Can posts have parents?
- Is there a action hook for the “Empty Trash” button?
- How to end the excerpt with a sentence rather than a word?
- How do I check if I linked to a post before I delete it?
- How to change the case of all post titles to “Title Case”
- Appending content with broken in 4.4
- How to get posts published between a date and today?
- ZIP up all images displayed in a [gallery] and offer as download link
- How to detect single.php (but not single-portfolio.php)?
- How to check if post meta key exists or not in wordpress database
- How to remove a column from the Posts page
- removing inline styles from wp-caption div