Automattic\WooCommerce\Internal\StockNotifications

StockSyncController::get_notice_transient_key │ private │ WC 1.0

Get the transient key holding the current user's pending notice product IDs.

Method of the class: StockSyncController{}

No Hooks.

Returns

string.

Usage

// private - for code of main (parent) class only
$result = $this->get_notice_transient_key(): string;

StockSyncController::get_notice_transient_key() code WC 11.3.0

private function get_notice_transient_key(): string {
	return 'wc_customer_stock_notifications_product_sync_notice_' . get_current_user_id();
}