Automattic\WooCommerce\Internal\DataStores\StockNotifications

StockNotificationsDataStore::get_table_name │ public │ WC 1.0

Get the stock notifications table name.

Метод класса: StockNotificationsDataStore{}

Хуков нет.

Возвращает

string.

Использование

$StockNotificationsDataStore = new StockNotificationsDataStore();
$StockNotificationsDataStore->get_table_name(): string;

Код StockNotificationsDataStore::get_table_name() WC 11.2.2

public function get_table_name(): string {
	global $wpdb;
	return $wpdb->prefix . 'wc_stock_notifications';
}