Install
Install Class.
Description Description
Source Source
File: packages/woocommerce-admin/src/Install.php
Methods Methods
- add_tables — Adds new tables.
- check_version — Check WC Admin version and run the updater is required.
- create_events — Schedule cron events.
- create_notes — Create notes.
- create_tables — Create database tables.
- delete_obsolete_notes — Delete obsolete notes.
- drop_tables — Drop WooCommerce Admin tables.
- get_db_update_callbacks — Get list of DB update callbacks.
- get_schema — Get database schema.
- get_tables — Return a list of tables. Used to make sure all WC Admin tables are dropped when uninstalling the plugin in a single site or multi site environment.
- handle_option_migration — Migrate option values to their new keys/names.
- init — Hook in tabs.
- install — Install WC Admin.
- maybe_update_db_version — See if we need to show or run database updates during install.
- migrate_options — Migrate option values to their new keys/names.
- needs_db_update — Is a DB update needed?
- update — Push all needed DB updates to the queue for processing.
- update_db_version — Update WC Admin version to current.
- wpmu_drop_tables — Uninstall tables when MU blog is deleted.