public function preUpgradePlugin( $options ) {
		$plugin = ! empty( $options['hook_extra']['plugin'] ) ? $options['hook_extra']['plugin'] : null;

		$isBoldgridPlugin = \Boldgrid\Library\Library\Util\Plugin::isBoldgridPlugin( $plugin );

		if( $isBoldgridPlugin ) {

			/*
			 * Before this plugin is upgraded, remove it from the list of
			 * registered libraries.
			 *
			 * We need to remove it because this plugin may be upgraded
			 * (or downgraded) to a version of the plugin where it does not
			 * contain the library.
			 *
			 * Reregistration of this plugin will take place in the constructor
			 * the next time this class is instantiated.
			 */
			$utilPlugin = new \Boldgrid\Library\Util\Registration\Plugin( $plugin );
			$utilPlugin->deregister();
		}

		return $options;
	}