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
- Post/Page Preview Template
- Post slugs and images cannot have same name?
- Convert custom fields to post categories
- Hide password protected posts in admin
- Most viewed post for the last 2 days using WP_Query
- This AJAX Code Doesn’t Work – Looking for elegant solution
- How To Add Perfect Apostrophe And Quotation Mark In WordPress Posts?
- Custom post type permalinks breaking due to 3.1 bug fix
- wp_insert_post let users post to without login…broke
- Export posts manually selected by end user (not logged in)
- Loop through all product posts?
- How to add Tags Filter in wordpress admin dashboard
- How to display featured image without it appearing in post?
- Ajax post filters not working
- List authors with the last post title and order by last post date
- How to order posts by meta_value and title
- What do these phpMyAdmin errors mean on my WordPress databaes?
- Add post tags to previously created custom post type
- Problem with quotes
- Add Input Field in Simple Model Contact Form (smcf) plugin [closed]
- Anyone know a php snippet for showing the first 200 characters of the most recent post?
- Am getting duplicate data from get_posts()
- Pagination Not Working With Custom Post Type Category
- Disaply products from category
- Multisite Issue on Subdomain’s article pages
- Show all posts from the tags without having to set all of them
- WordPress each user has each content for a page,how to do that?
- Fixing the WP Post Object for Custom Route
- How to remove related post from home page
- Send/Publish a Post front end
- Insert new post for each user infinite loop error
- Last three posts not being put in order by date. How to fix this?
- WordPress sub-posts and permalinks
- Show List of Posts With Comments Open
- When and how will php code in a user made WordPress page be executed?
- Onclick open posts displayed in slider in a popup [closed]
- Listing category and its posts one by one