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.
Метод класса: WC_Install{}
Хуков нет.
Возвращает
string[]. Action Scheduler table names.
Использование
$result = WC_Install::get_action_scheduler_tables();
Список изменений
| С версии 11.0.0 | Введена. |
Код WC_Install::get_action_scheduler_tables() WC Install::get action scheduler tables WC 11.2.2
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",
);
}