Skip to content

Commit

Permalink
Merge pull request #273 from level-level/feature/get-biography-for-cl…
Browse files Browse the repository at this point in the history
…arkson-user

add biography to clarkson user object
  • Loading branch information
kevinpoot authored Oct 2, 2024
2 parents 39d600e + f75e90a commit a9fbe71
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/WordPress_Object/Clarkson_User.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,15 @@ public function get_login() {
return $this->get_user()->user_login;
}

/**
* Get the user's biography.
*
* @return string Biography.
*/
public function get_biography() {
return $this->get_user()->description;
}

/**
* Get the user's roles.
*
Expand Down

0 comments on commit a9fbe71

Please sign in to comment.