public static function uninstall_hook() { foreach (CPTP_Util::get_post_types() as $post_type) { delete_option($post_type . '_structure'); } delete_option('no_taxonomy_structure'); }