If you look at the source for the function, you can see that the arguments to the function are passed directly through to get_pages()
. That function supports a post_status
argument that can be an array of statuses. So to do what you want all you need to do is pass the post statuses you want into a post_status
argument of wp_dropdown_pages()
:
wp_dropdown_pages( arrray(
'post_status' => array( 'future', 'publish' ),
) );
Related Posts:
- How to use wp_nav_menu to create a select menu dropdown?
- how to get value of wp_dropdown_categories
- Filter a second dropdown list when a value is chosen in the first one
- Improving the Thesis built-in dropdown menu via javascript
- Add submenu using the bootstrap wp_nav_menu
- Drop-down menu with wp_dropdown_pages
- How to number the options in a wp_dropdown_pages() select?
- Selected attribute of Drop down list
- Ultimate Member callback function issue
- Filter table with dropdown
- Get the selected option from drop down list
- pages meta box – get_categories dropdown
- Bootstrap drop down Navigation Menu in WordPress
- create drop down menu
- How to populate a dropdown menu with option selected?
- Link to subpages on the same page
- Using wp_dropdown_users and selected() function?
- working with result of wp_dropdown_pages()
- Help with a get_categories () drop down menu – I want it to show in heirachial form
- Dropdown list control in a post
- wp_dropdown_users array for param selected
- top primary menu drop down categories not showing
- First ID won’t be excluded in wp_dropdown_pages with an $arg from tax_query
- Multiple Dropdown’s with Submit Button
- Create a drop down list within an active page not nav menu
- wp_dropdown_categories – remove
- Custom Query for searching through custom fields
- PayPal button with drop down menu not working [closed]
- How to solve dropdown menu problem [closed]
- Dropdown Value from DB Entry
- Making a filter searchable on the page of post list at WordPress backend
- Select default option value from typescript angular 6
- How to Get All Posts with any post status?
- Any docs for wp_nav_menu’s “items_wrap” argument?
- How to check if a user (not current user) is logged in?
- New post status for custom post type
- How to update page status from publish to draft and draft to publish
- Is it possible to have more “levels” of draft/published statuses?
- Taxonomy dropdown metabox in the back-end
- How to Display a List of Users Who Have Made at Least 1 Post?
- Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?
- Turn Off Automatic Trash Deletion?
- wordpress function to change post status [duplicate]
- What is a “protected” post status?
- how to assign a status/mark to post?
- Using get_post_meta with new_to_publish
- Why doesn’t wp_update_post() update the post_status field?
- Removing filter dropdown in posts table (in this case Yoast SEO)
- Custom column for changing post status via ajax
- Custom Taxonomy as Dropdown in admin
- register_post_status and show_in_admin_all_list
- Add a dropdown to theme customizer
- Changing post status in one click
- How to change “Draft” string for status of custom post type to “Unavailable”?
- How to display the status of users (online – offline) in archive.php
- Let private posts stay in status “private” after edit through “editors”
- How to check if page has status published
- How can I run custom function when post status is changed?
- How to 301 private posts rather than 404?
- WP_Query by post ID doesn’t work if post is in custom post_status
- restrict_manage_posts not working in 3.3.1
- wp_dropdown_categories in custom post type with custom taxonomy
- WP_Post_List_Table::get_views – Have post counts account for filters?
- Restrict a Post Types Post Status
- Custom post status and preview
- Creating/editing custom ‘post-state’
- Bootstrap dropdown nav pills not working with wp_nav_menu()
- Using arbitrary post status without registering it
- get_terms(); show private posts when logged in
- Dropdown with category selection
- Show child pages by menu order using Superfish Dropdown menu?
- Bootstrap drop down menu with wp_nav_menu
- Get a list of ALL Statuses both registered and built-in
- How to create a drop down menu like in twenty eleven theme?
- Block Editor: add an aria-label to an option inside a SelectControl
- How to store the value of a custom field dropdown select for post referencing?
- Filter results with custom field values and dropdown
- Drop down+sort blog posts date added/most popular
- List custom post types in dropdown
- How to change post status in hook?
- How do I give class to the dropdown sub-menu in the wp_nav_menu?
- How can I show drafts in wp_dropdown_pages list?
- Dropdown: Display terms from B only if has relationship with a term A selected
- Custom Post Status not showing in Custom Post Type ALL view
- No authors in change author dropdown
- Saving two categories from two dropdowns in front end posting form
- How can I display parent and child taxonomies in separate drop downs?
- shortcode to create dynamic dropdown box form shortcode attributes
- Display a custom taxonomy as a dropdown on the edit posts page
- Save selected item from dropdown menu in a meta box as a metadata value for a custom post type
- Get id of category from drop down menu
- featuring old articles without messing up with the archive
- Adding custom post status to visibility in publish meta box
- Bulk Update of Custom Post Type Post Status through SQL
- Setting post meta data to random value during post status transition / on publish
- Show scheduled posts in archive page
- Add Dropdown menu using “add_filter => wp_nav_menu_items”
- How do I create a drop down menu in a widget?
- Setting a title on a Custom Post Type that doesn’t support titles
- What action is called when drafts are saved?