Hello guys, I’m create an add-on for GravityForms but it’s in PHP, all is working great, and l’m saving some settings indo wp_options from it, like an Api Secret Key.
In the same plugin l’m creating a widget but using Gutenberg with JS.
I’m new into this JS layer in WordPress so l’m confusing in how to get those options from DB.
I found something about @wordpress/ hooks but I don’t find examples to it.
Anyone can gives me a idea?
Thanks for all.