private function set_permastruct($taxonomy, $struct) { $this->wp_rewrite->extra_permastructs[$taxonomy]['struct'] = $struct; }