Learndash_Admin_Data_Upgrades
Class LearnDash Data Upgrades Base.
Description #
Source #
File: includes/admin/class-learndash-admin-data-upgrades.php
Changelog #
Version | Description |
---|---|
2.6.0 | Introduced. |
Methods #
- __construct — Public constructor for class
- add_instance — Add instance to static tracking array
- admin_init — General admin_init hook function to check admin notices.
- admin_page — Show the admin page content.
- check_upgrade_admin_notice — Trigger admin notice if Data Upgrades need to be performed.
- do_data_upgrades — Entry point to perform data upgrade for instance.
- get_data_settings — Get the LearnDash Settings array
- get_instance — Get the current instance of this class or new.
- get_last_run_info — Return the last run details for the last completed data upgrade for the instance.
- get_transient — Get the processing transient for instance.
- init_data_settings — Initialize the LearnDash Settings array
- init_process_times — Initialize the processing timer.
- out_of_timer — Check if the process timer is out of time.
- process_upgrade_action — Placeholder function. This function is called when processing the upgrade action.
- register_upgrade_action — Register the data upgrade action.
- remove_transient — Remove the processing transient for instance.
- set_data_settings — Set data upgrade option for instance.
- set_last_run_info — Set the last run completed data upgrade for instance.
- set_option_cache — Set the processing transient for instance.
- show_upgrade_action — Placeholder function. This function is called when displaying the admin page.
- show_upgrade_admin_notice — Shows Data Upgrade admin notice.