Skip to content

Commit f75e90a

Browse files
committed
add biography to clarkson user object
1 parent 39d600e commit f75e90a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/WordPress_Object/Clarkson_User.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,15 @@ public function get_login() {
159159
return $this->get_user()->user_login;
160160
}
161161

162+
/**
163+
* Get the user's biography.
164+
*
165+
* @return string Biography.
166+
*/
167+
public function get_biography() {
168+
return $this->get_user()->description;
169+
}
170+
162171
/**
163172
* Get the user's roles.
164173
*

0 commit comments

Comments
 (0)