-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
664ba05
commit 1bf09e0
Showing
7 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
slug: /next/reference/hooks | ||
title: Hooks | ||
description: Hooks for Faust.js | ||
--- | ||
|
||
Faust.js provides a number of hooks that make interacting with your headless WordPress site a little easier. | ||
|
||
- [`usePost`](/next/reference/hooks/usePost): Fetch a post from WordPress | ||
- [`usePosts`](/next/reference/hooks/usePosts): Fetch multiple posts from WordPress | ||
- [`usePage`](/next/reference/hooks/usePage): Fetch a page from WordPress | ||
- [`usePreview`](/next/reference/hooks/usePreview): Fetch preview data from WordPress | ||
- [`useAuth`](/next/reference/hooks/useAuth): Facilitate authentication with WordPress | ||
- [`useLogin`](/next/reference/hooks/useLogin): Facilitate login with WordPress | ||
- [`useLogout`](/next/reference/hooks/useLogout): Facilitate logout with WordPress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1bf09e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Branch site-dev could not be deployed
Your environment Development of app faustjs-site could not be updated
View build logs: https://my.wpengine.com/atlas#/faustjs-site/cixzyt38dn5ak04xxcqc36lf/77aegcf9rnfoy7aiujlw8ol5
View your environment URL: https://hcixzyt38dn5ak04xxcqc36lf.js.wpenginepowered.com