Version_Tracker
Version_Tracker class that assists tracking the plugin versions and notifies listeners on changes.
Description #
Source #
Changelog #
| Version | Description |
|---|---|
| 4.21.0 | Introduced. |
Methods #
- get_version_history — Returns the list of versions we have loaded previously.
- has_upgraded — Checks if the supplied version has been operated on in the past.
- option_key — Contains the key for the WordPress option for our version data.
- set_version_history — Sets the version history in the database.
- sync_version — Will sync the version in our database based on the passed version, firing appropriate update hooks to notify the application of the version applied.