We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08affa3 commit f62c855Copy full SHA for f62c855
src/Cyberduck/LaravelWpApi/WpApi.php
@@ -33,6 +33,11 @@ public function page($slug)
33
return $this->_get('posts', ['type' => 'page', 'filter' => ['name' => $slug]]);
34
}
35
36
+ public function author($name)
37
+ {
38
+ return $this->_get('posts', ['type' => 'page', 'filter' => ['author_name' => $name]]);
39
+ }
40
+
41
public function categories()
42
{
43
return $this->_get('taxonomies/category/terms');
0 commit comments