@fulldigits-dev/faustwp-core
v3.5.4
Published
Fork of @faustwp/core in FaustJS. Faust is a framework that aims to make headless WordPress as streamlined as classic WordPress for both developers and publishers
Readme
@faustwp/core
Original package informations :
Faust is a toolkit that aims to make headless WordPress as streamlined as classic WordPress for both developers and publishers.
Major Changes
getWordpressProps function
The getWordpressProps function has been extended with the following improvements:
- New keys available in the
propsobject, giving developers more control over configuration. - The plugin can now work with a dynamic GraphQL endpoint, allowing greater flexibility across environments.
- Developers can use a predefined FaustTemplate for simpler template resolution.
- The active locale can be enforced with a custom value.
- The function checks whether the
languagefield exists on the Page post type, and returns a 404 if the value does not match the active locale.
