Automattic\WooCommerce\Internal\PushNotifications\Entities
PushToken::get_user_id
Gets the user ID.
Method of the class: PushToken{}
No Hooks.
Returns
Int|null.
Usage
$PushToken = new PushToken(); $PushToken->get_user_id(): ?int;
Changelog
| Since 10.4.0 | Introduced. |
PushToken::get_user_id() PushToken::get user id code WC 10.5.0
public function get_user_id(): ?int {
return $this->user_id;
}