You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the saved options keys from the database should be in the registered schema to return the value from the WordPress settings rest API. Could you put the following code on your plugin, the issue should be fixed.
Describe the bug:
When alternating the default options, the API returns a NULL response.
Following scenario:
/src/admin/pages/advanced
-> remove 'setting_5' section/admin/class-wp-react-boilerplate-admin.php
-> remove setting_5 in schema/includes/functions.php
-> remove 'setting_5' from$default_theme_optoins
Run: {yarn|npm} start / build
The response from the API is the following:
wp_react_plugin_boilerplate_options: null
Expected Behaviour:
Return the remaining or modified options
The text was updated successfully, but these errors were encountered: