Yes, you (read: the logged in user) will be able to see the drafted post. But, a guest will not be able to read it.
To test it, login to one browser and create a draft. See its URL in another browser where you don’t login (no cookie, etc).
Related Posts:
- simple wp_insert_post example
- Retrieving and Storing Images Linked from Other Domains on Local Server?
- WP_Query with the “offset” argument
- I want to print a message in post ” After one month from publish date”
- WordPress : using AJAX to get posts & Sidebar Content to an external application
- Specific colours for wordpress author ids
- Troubles about insering a POST with a SQL query, post_status
- Multiple Inputs in a Customizer Control
- Embedding a SOAP Client into a WordPress Plugin?
- Remove WordPress theme from a specific page
- Custom Post Types, slug, archive and SEO plugins
- Backup the Database and Restore from the Backup?
- How to keep a WordPress site synchronized between two servers?
- difference between esc_attr(), strip_slashes(), strip_tags()?
- Custom editor field displaying HTML in Visual editor
- how to enable different number of revisions for different blogs when using WPMU?
- automatically create taxonomy with same name as post title
- Looking to display non-image files in Gallery with logo specific to file type
- saving custom post type data to different table in wordpress
- Query post types with multiple keys
- Is it ok to not a have child theme and just create a theme from scratch?
- How do I remove the eye icon that shows visibility on login screen and reset password screen
- Passing page url into a custom field via the Press-This bookmarklet
- Using transients to store captchas
- How to extend nav-menu-item-control data in Appearance > Customize?
- Video to stretch across the entire homepage [closed]
- How can I allow access to multiple users, using the same login, at the same time?
- Is it possible to have one page with multiple items, or 2 blogs on a site?
- Function to allow “Anyone can register”?
- Fatal error in wp-admin/customize.php after fresh install due to null $wp_customize
- TwentyFifteen: How can it show a different color on every post page?
- Moving from development while pulling production database without overwriting, to production
- Show posts by a custom post author
- changing font size and font of a custom message added after comment
- wp_query get post custom taxonomy in search.php
- Custom wp-content and upload directory
- Custom login with external provider iframe and data object
- Allow users to create posts without logging in?
- Users can only view their content from the front end
- Localization: I want the backend: english and frontend in defined language
- Custom Post Type Rewrite To Include Parent Page(s)
- Theme compression/ minifying or W3 Total Cache – which should I use? [closed]
- How to remove all the items under “Personal Options” on user profile page?
- Extend WordPress Core Classes in OOP Theme?
- How To Load an HTML File As A WordPress Page (With No 301/No Redirect)
- how to display a specific wordpress menu?
- User bar above logotipo?
- Create a url structure for my blogs based on categories and sub-cats
- Can I integrate wordpress with my current website so I can utilize the wordpress plugins?
- Sticky menu for WP custom menubars
- Custom Post Type archive
- More tag – how do I remove preceding ?
- Salesforce lead tracking with contact forms plugins [closed]
- Stop Expansion of Top Level Menu in the WordPress Admin Sidebar
- How can style text like this in wordpress
- Add or Create Custom Structure Tags to Permalink
- Setup database structure with books, authors, languages etc. for publishing house [closed]
- Dynamically Filtering Posts by Data Points – Any Pointers?
- Woocommerce custom checkout form
- Remove year from title
- How to remove admin menu pages inserted by plugins and themes in the top admin bar?
- WordPress custom dropdown listings
- Custom Tags Archive – permalinks not working
- Help customising admin bar, removing buddypress links from dropdown
- Do I need to instantiate the XMLRPC class or any class in another class to access its methods?
- WordPress in a Subdirectory
- Change Site Logo or Menu Logo Per Page
- Hook save_post_cpt not triggered when custom fields are modified
- javascript file not working in a plugin template file
- If Term Name Exists, Append a Unique ID to Slug
- How can I display both LTR and RTL language texts on the same page?
- New Page/Post Screen Opens an Existing Post
- how can custom permalink structure use for specify custom post type
- Add button to My Sites dashboard page (multisite)?
- Cannot go to next page on phone but can on computer
- A specific menu inside a page, load different contents without reloading it, under the same link
- How to hide or remove a custom widget area when empty
- Dockerized WordPress is having Nginx Proxy Issues
- Add Categories To Custom Post
- Create single{custom}.php with data in table out of wp_posts
- Highlight specific user with custom field value
- How to define a static Home page
- Custom Single Post Type not referring to single-post-type.php File
- let users add multiple divs in static page
- Best way to replace image url with source
- “Current” class on a singular page menu item with custom post types?
- Multiple Taxonomies Using Custom SQL Query
- Changing starting number of User ID
- Logged in only custom page
- Make Terms Under Custom Taxonomy Use Specific Single.php Template
- How to duplicate “Pages” section in the control panel?
- Problem Locating and Changing Alt Attribute Of Link
- Pull certain WordPress posts on custom CMS instead and 301 wordpress to it?
- Choose options via url
- Show Site Name on WP login screen
- Adding css and js to a blank page created with custom template
- Create users via PHP
- Show post content in two different places without redirect
- Applying my own css classes in wp_menus 3?
- is therer any wordpress function to retrieve a specific html element from post content