Skip to content

Instantly share code, notes, and snippets.

@kachi
Created March 10, 2012 16:35
Show Gist options
  • Save kachi/2011986 to your computer and use it in GitHub Desktop.
Save kachi/2011986 to your computer and use it in GitHub Desktop.
<?php
if(current_user_can('read_private_pages')) :
?>
//ログインしないと見れない場所
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment