'true'] ); flush_rewrite_rules(); // self::add_cap_manage_faq_settings(); } // up coming vertion // private static function add_cap_manage_faq_settings() { // $roles = get_editable_roles(); // foreach ($GLOBALS['wp_roles']->role_objects as $key => $role) { // if (isset($roles[$key]) && $role->has_cap('manage_woocommerce')) { // $role->add_cap('faq_manage_settings'); // } // } // } } endif;