Automattic\WooCommerce\Internal\StockNotifications
Notification::get_user_email
Get the user email.
Метод класса: Notification{}
Хуков нет.
Возвращает
string.
Использование
$Notification = new Notification(); $Notification->get_user_email( $context );
- $context(строка)
- Context.
По умолчанию:'view'
Код Notification::get_user_email() Notification::get user email WC 11.3.0
public function get_user_email( $context = 'view' ) {
return $this->get_prop( 'user_email', $context );
}