public function account() { //must check that the user has the required capability if (!current_user_can('manage_options')) { wp_die(__('You do not have sufficient permissions to access this page.')); } include dirname(__FILE__) . '/account.php'; }