WC_Install::get_action_scheduler_tables
Get the list of Action Scheduler database tables.
These are intentionally kept out of get_tables(): Action Scheduler is a shared library that may be bundled by other active plugins, so its tables are only dropped during a full uninstall when the site owner explicitly opts in by setting the WC_REMOVE_ACTION_SCHEDULER constant.
Method of the class: WC_Install{}
No Hooks.
Returns
string[]. Action Scheduler table names.
Usage
$result = WC_Install::get_action_scheduler_tables();
Changelog
| Since 11.0.0 | Introduced. |
WC_Install::get_action_scheduler_tables() WC Install::get action scheduler tables code WC 11.0.1
public static function get_action_scheduler_tables() {
global $wpdb;
return array(
"{$wpdb->prefix}actionscheduler_actions",
"{$wpdb->prefix}actionscheduler_claims",
"{$wpdb->prefix}actionscheduler_groups",
"{$wpdb->prefix}actionscheduler_logs",
);
}