Abstract_API_Key_Api::get_user()
Get the WP_User object from the Loaded API Key.
Return
(WP_User|null) Returns the WP_User object or null if not loaded.
Source
File: src/Common/Event_Automator/Zapier/Abstract_API_Key_Api.php
public function get_user() {
return ! empty( $this->user ) ? $this->user : null;
}
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |