Skip to content

Commit c3b16ed

Browse files
author
Andrei Igna
committed
Updated - method for Language
1 parent 4e22f1e commit c3b16ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Provider/WordPressComUser.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,16 @@ public function getBlogUrl()
114114
return $this->getValueByKey($this->response, 'primary_blog_url');
115115
}
116116

117+
/**
118+
* Get resource owner language
119+
*
120+
* @return string|null
121+
*/
122+
public function getLanguage()
123+
{
124+
return $this->getValueByKey($this->response, 'language');
125+
}
126+
117127
/**
118128
* Return all of the owner details available as an array.
119129
*

0 commit comments

Comments
 (0)