Rest API link to use in custom blocks
HamdanMahran opened this issue Β· comments
HamdanMahran commented
Hello Awesome team,
i need the Rest Api link that contains all options π
wp.apiFetch({
url: '/wp-json/wp/v2/redux'
})
Thank you.
Site Health Report
Steps to reproduce
Expected Behavior
Actual Behavior
Any Error Details (PHP/JavaScript)
Kevin Provance commented
We do not have a REST endpoint to grab Redux options. At this point, you'll need to code in your own. It may be something we'll look at in a future release. You could easily convert the global option variable into a JSON string and pass that to your JS.