public function page_options_render() { if (!current_user_can(apply_filters('apple_news_settings_capability', 'manage_options'))) { wp_die(__('You do not have permissions to access this page.', 'apple-news')); } $sections = $this->sections; include plugin_dir_path(__FILE__) . 'partials/page_options.php'; }