Releases: sixach/wp-react-hooks
Releases · sixach/wp-react-hooks
v1.14.0
12 Apr 15:23
Compare
Sorry, something went wrong.
No results found
Changed
Enhanced useGetNodeList to accept a predicate function to filter objects contained in the result set
v1.13.0
09 Mar 18:45
Compare
Sorry, something went wrong.
No results found
Added
useIsDraggingWithin: Determine whether an element is being dragged within another (ref) target element #87
v1.12.0
01 Mar 22:40
Compare
Sorry, something went wrong.
No results found
Added
useGetSiteData: Retrieve the current site data or object #84
useGetCurrentPost: Retrieve the current post object given a post ID and post-type name (key) #85
v1.11.0
17 Feb 17:59
Compare
Sorry, something went wrong.
No results found
Added
useGetBlockLayout: Retrieve the block support value for the "Layout" settings to be used in the preview #78
v1.10.0
27 Jan 17:44
Compare
Sorry, something went wrong.
No results found
Added
useGetMediaType: Retrieve media MIME type based on given attachment id #68
v1.9.2
26 Jan 15:57
Compare
Sorry, something went wrong.
No results found
Added
Introduced a wrapper for useInnerBlocksProps. This ensures compatibility with WordPress 5.9 as well as previous versions that only have the experimental feature.
v1.9.1
22 Jan 23:54
Compare
Sorry, something went wrong.
No results found
Changed
Fixed a bug in usePreparePosts where the query contained entries of undefined
Minor restructuring in useGetPosts to prevent re-render on mount
v1.9.0
09 Dec 11:36
Compare
Sorry, something went wrong.
No results found
usePostTypeNameRestBase: Post-type name and REST-API base key extraction #45
v1.8.0
08 Dec 20:07
Compare
Sorry, something went wrong.
No results found
useColumnsProps: CSS class names and viewport-wide columns gap inline CSS style generator #40
v1.7.0
25 Nov 17:15
Compare
Sorry, something went wrong.
No results found
useGetPostMeta: Retrieves a post meta field of the current post. #40
useUpdatePostMeta: Updates a post meta field based on the given post ID. #40