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 91499b7 commit 08affa3Copy full SHA for 08affa3
src/Cyberduck/LaravelWpApi/WpApi.php
@@ -27,6 +27,11 @@ public function post($slug)
27
{
28
return $this->_get('posts', ['filter' => ['name' => $slug]]);
29
}
30
+
31
+ public function page($slug)
32
+ {
33
+ return $this->_get('posts', ['type' => 'page', 'filter' => ['name' => $slug]]);
34
+ }
35
36
public function categories()
37
0 commit comments