Skip to content

Commit

Permalink
misc changes
Browse files Browse the repository at this point in the history
Remove Lorem text, fix typo, and replace Typescript header with Conclusion in FAQ.
  • Loading branch information
mosesintech committed Feb 6, 2024
1 parent 4f0759a commit f80a373
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/docs/src/app/faq/why-rest-api/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ NextWP leverages the WP REST API for a more efficient development workflow, part
- **Simplified Data Retrieval**: Fetching data via the WP REST API is generally more straightforward, especially for custom fields or blocks, enabling faster prototyping and development cycles.
- **User-Friendly for Developers**: The REST API's approach, combined with NextWP's type support, offers a gentler learning curve, accelerating onboarding and productivity.

## TypeScript
## Conclusion

In essence, NextWP’s integration with the WP REST API not only makes the development process smoother but also enriches the overall developer experience, allowing teams to focus on feature development with less concern about data fetching complexities.

Expand Down
5 changes: 2 additions & 3 deletions apps/docs/src/app/packages/nextwp/core/functions/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ The REST API functions are a set of functions that can be used to retrieve data

<Note>This is a work in progress. The functions are not yet documented.</Note>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget ultricies aliquam, nunc nisl aliquet nunc, quis aliqu

## getMenuItems {{ tag: 'GET', label: '/wp-json/wp/v2/menus?slug={slug}' }}

<Row>
Expand Down Expand Up @@ -167,7 +165,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eg
url?: string;
posts_per_page?: number;
page_on_front?: number;
page_for_posts?: number; site_logo?: number;
page_for_posts?: number;
site_logo?: number;
site_icon?: number;
email?: string;
timezone?: string;
Expand Down

0 comments on commit f80a373

Please sign in to comment.