diff --git a/apps/docs/src/app/faq/why-rest-api/page.mdx b/apps/docs/src/app/faq/why-rest-api/page.mdx index 9af2ed8..52caec8 100644 --- a/apps/docs/src/app/faq/why-rest-api/page.mdx +++ b/apps/docs/src/app/faq/why-rest-api/page.mdx @@ -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. diff --git a/apps/docs/src/app/packages/nextwp/core/functions/page.mdx b/apps/docs/src/app/packages/nextwp/core/functions/page.mdx index f70bb3d..78c7d41 100644 --- a/apps/docs/src/app/packages/nextwp/core/functions/page.mdx +++ b/apps/docs/src/app/packages/nextwp/core/functions/page.mdx @@ -9,8 +9,6 @@ The REST API functions are a set of functions that can be used to retrieve data This is a work in progress. The functions are not yet documented. -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}' }} @@ -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;