「購読者」に対して「カテゴリー」を非表示にするには以下の内容をfunctions.phpに記述します。
add_action("admin_head-post-new.php", "post_scripts");
add_action("admin_head-post.php", "post_scripts");
function post_scripts()
{
?>
<script type="text/javascript">
jQuery(document).ready(function ($) {
<?php if (current_user_can('subscriber')) { ?>
$("#categorydiv").hide();
<?php } ?>
});
</script>
<?php }


