reduxframework / redux-framework

Redux is a simple, truly extensible options framework for WordPress themes and plugins!

Home Page:http://redux.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rest API link to use in custom blocks

HamdanMahran opened this issue Β· comments

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)

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.