Hide Visibility Option From WordPress Publish Metabox
Add this code: function wpseNoVisibility() { echo ‘<style>div#visibility.misc-pub-section.misc-pub-visibility{display:none}</style>’; } add_action(‘admin_head’, ‘wpseNoVisibility’); to functions.php of your active theme. Needless to say, the preferred method, would be to add above code to functions.php of the child theme. Update Unfortunately, the above solution will not limit this change to pages only. We’ll have to determine, if we add, … Read more