Automattic\WooCommerce\Internal\DataStores\StockNotifications

StockNotificationsDataStore::get_table_namepublicWC 1.0

Get the stock notifications table name.

Method of the class: StockNotificationsDataStore{}

No Hooks.

Returns

String.

Usage

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

StockNotificationsDataStore::get_table_name() code WC 10.3.6

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