Releases: cool-hooks/react-wordpress-hooks
Releases · cool-hooks/react-wordpress-hooks
1.0.0 alpha 1
Changes
New Feature
- options parameter can be an array of IDs
Breaking Changes
- rebuilt delete methods (first parameter is ID, second optional - settings)
- replaced
auth
withheaders
option in WPContext
Repository Changes
- added type definitions to output files
0.1.2
0.1.1
Initial Release
New Feature
context
WPContext
with url & auth values
hooks, hooks, hooks ...moreHooks
- hooks for Posts:
usePosts
,useCreatePost
,useRetrivePost
,useUpdatePost
,useDeletePost
- hooks for Revisions:
useRevisions
,useRetriveRevision
,useDeleteRevision
- hooks for Categories:
useCategories
,useCreateCategory
,useRetriveCategory
,useUpdateCategory
,useDeleteCategory
- hooks for Tags:
useTags
,useCreateTag
,useRetriveTag
,useRetriveTag
,useDeleteTag
- hooks for Pages:
usePages
,useCreatePage
,useRetrivePage
,useUpdatePage
,useDeletePage
- hooks for Comments:
useComments
,useCreateComment
,useRetriveComment
,useUpdateComment
,useDeleteComment
- hooks for Taxonomies:
useTaxonomies
,useRetriveTaxonomy
- hooks for Media:
useMedia
,useCreateMedia
,useRetriveMedia
,useUpdateMedia
,useDeleteMedia
- hooks for Users:
useUsers
,useCreateUser
,useRetriveUser
,useUpdateUser
,useDeleteUser
- hooks for Types:
useTypes
,useRetriveType
- hooks for Statuses:
useStatuses
,useRetriveStatus
- hooks for Settings:
useSettings
,useUpdateSetting
Improvement
- improved response error output