Last active
August 7, 2016 22:32
-
-
Save kachi/e28a22a30e84e246af7b6c15ef3668ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('page_attributes_dropdown_pages_args', 'add_private_draft'); | |
function add_private_draft($args) { | |
$args['post_status'] = 'publish,private,draft'; | |
return $args; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment