Package
Main package class.
Description Description
Source Source
File: packages/woocommerce-admin/src/Composer/Package.php
Methods Methods
- check_outdated_wca_plugin — Checks if embedded WCA version is newer than standalone WCA and adds/removes DeactivatePlugin note as necessary.
- get_active_version — Return the active version of WC Admin.
- get_path — Return the path to the package.
- get_version — Return the version of the package.
- init — Init the package.
- is_notes_initialized — Checks if notes have been initialized.
- is_package_active — Return whether the package is active.
- on_deactivation — Add deactivation hook for versions of the plugin that don't have the deactivation note.