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.
2 parents dedbd2c + 61fed3b commit 55816bcCopy full SHA for 55816bc
src/wp-rest-client.ts
@@ -106,7 +106,7 @@ export class WpRestClient extends AbstractWordPressClient {
106
107
async getCategories(certificate: WordPressAuthParams): Promise<Term[]> {
108
const data = await this.client.httpGet(
109
- getUrl(this.context.endpoints?.getCategories, 'wp-json/wp/v2/categories'),
+ getUrl(this.context.endpoints?.getCategories, 'wp-json/wp/v2/categories?per_page=100'),
110
{
111
headers: this.context.getHeaders(certificate)
112
});
0 commit comments