Warning: This method has been deprecated.

WC_Admin_Setup_Wizard::get_current_user_email()

Helper method to retrieve the current user’s email address.


Description Description


Return Return

(string) Email address


Top ↑

Source Source

File: includes/admin/class-wc-admin-setup-wizard.php

	protected function get_current_user_email() {
		$current_user = wp_get_current_user();
		$user_email   = $current_user->user_email;

		return $user_email;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.