Yes there is. It’s post_password_required:
Whether post requires password and
correct password has been provided.
Related Posts:
- Get password when user registers and save it sha1 into database
- Get the blog page URL set in Options
- Using classes instead of global functions in functions.php
- What is the difference between wp_register_sidebar_widget and register_widget?
- Change admin bar to default:off
- Create “File-less” Page Template in Functions.php
- When to use esc_url, esc_html, esc_attr, and friends?
- How to edit bbPress template files – WordPress + BuddyPress + bbPress? [closed]
- How to change post thumbnail title and alt attributes to post title?
- Why might $input (Settings API) be coming through empty?
- Override default cropping in WordPress [duplicate]
- How do I “unhook” / de-register jQuery so that it’s not called as part of wp_footer();?
- Removing the default sidebar from admin panel
- Merging PHP download script into `functions.php`
- Is there an error in get_the_tag_list()?
- Returning Variables back into a template
- Allow users to add custom functions to wordpress theme
- Change date number to another language/script?
- How to add custom template tag in wordpress theme?
- Nesting Functions within Functions
- Is using eval() ok in this scenario
- Custom php page in WordPress theme?
- Can’t access WordPress functions in file called via Ajax?
- How can I customize wp_footer, where is the code that controls what this function does?
- How to list all images in uploads directory except those that are attached to any post
- More than one meta field in a single meta box?
- how do you create an admin interface in plugin for your theme
- Check if password protected post is visible
- How to determine which custom header image is being shown
- Toggle Sidebar Display
- How to store functions in… functions.php?
- Unhook jQuery from WooCommerce via `functions.php`? [closed]
- trying to use wp_handle_upload with ajax
- Should I use include or load_template for including shortcodes, plugins and so on?
- Check if home.php and set home.php as page_on_front
- Should I use add_filter for functions in function.php of the theme?
- after renaming my wp-content folder, how do I upgrade my wordpress version?
- Pass variable to hook. Its possible?
- Theme Customizer not loading JS for live preview
- Remove “You are using WordPress 3.2.1” from Right Now Dashboard Widget
- Replace function in a child theme
- Custom theme, contact form 7 & fast secure form doesn’t work
- Change the “Default Avatar” admin option via functions.php
- Replace single_template filter with what for default posts?
- JQuery undefined and Stylesheet loads in bottom along with js files
- How to call the_time current?
- Do i need escaping get_the_passsword_form function?
- Password protect a custom template
- Add content after get_header
- Can’t change theme name
- How to set default values for edit_post_link() in my theme?
- How to make excerpt image be full size instead of thumbnail?
- Wrong activation/confirmation link in email
- enqueue script if page is not equal to
- apply_filters to featured image
- Mamp pro permalink issues. Pages keep reverting to index.php
- loading custom.js file after jquery is loaded
- Want to display page content after password prompt without page reload
- Creating custom function in wordpress to return data from database
- Getting URL of Resized Image
- Adding a new layout for genesis
- themeforce (happytables framework) implementation
- How To extend WP_Customize_Control
- How to use get_template_directory_uri() to load an image that is in a sub-folder of my theme?
- Removing all classes from nav_menu except current-menu-item and current-menu-parent
- Can’t edit style.css in subdirectory of my theme?
- Best practice for including plugins as part of a theme?
- Details of wp_localize_script
- query posts in wordpress
- How to handle theme customization and sass variables
- wp_enqueue_scripts not called on search page?
- Add tinymce to widget textareas
- Custom Nav Walker to show siblings and children of current branch?
- WordPress 404 page returning with default in IIS7
- searchform.php override not working
- Load child template based on parent
- How to make the_tags title translatable?
- Set default featured image for terms of a custom taxonomy
- Timber: Get single image from media library with all attributes
- page.php dependent sites are not working in custom woocommerce theme
- How to obtain the current website URL in my theme?
- ACF Pro make URL Linked in Custom Template [closed]
- Can’t use admin_enqueue_scripts or wp_enqueue_script
- How is the `get_sidebar` function meant to be used to call a 2nd sidebar?
- Theme logo metadata into template file
- Setting conditional background image from meta value
- How to Emulate Default Navigation Menu Behaviour in a Custom Theme?
- How can I run code in functions.php when switch_theme() is called?
- Default customizer colors aren’t displayed outside of the preview
- More HTML elements variety in visual editor
- hide/show a div in wordpress
- Create new sidebars trough admin post/page metabox
- How one category can have different fields?
- How to add script properly for certain post?
- Why WordPress gets old templates code instead of the last updated ones
- adding navigation to genesis themes
- Upgrade to WP 3.2/ and Server to php5 breaks theme? [closed]
- Adding php within a return statement [closed]
- Creating image grid on products page in wordpress
- Insert gutenberg blocks into template