public function upgrader_process_complete( $wp_upgrader, $options ) {

		if ( empty( $options['plugins'] ) ) {
			return;
		}

		if ( ! is_array( $options['plugins'] ) ) {
			return;
		}

		if ( 'update' === $options['action'] && 'plugin' === $options['type'] ) {
			$plugin_path = plugin_basename( CPTP_PLUGIN_FILE );
			if ( in_array( $plugin_path, $options['plugins'], true ) ) {
				// for update code.
				add_option( 'no_taxonomy_structure', false );
			}
		}
	}