Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WC Settings API #43

Open
WPprodigy opened this issue Mar 3, 2018 · 1 comment

Comments

@WPprodigy
Copy link
Member

@WPprodigy WPprodigy commented Mar 3, 2018

Settings API

Currently, WC settings are declared for each individual settings page first, then some are added to the API using filters.

This is a proposal to reverse that, and declare all the settings first for the REST API.

Goal:

Create a full settings API for WooCommerce that contains all of the core settings.

Along with the benefits listed below, this also helps prevent the current problem of moving settings causing un-intended API changes: woocommerce/woocommerce#18669

Future Use:

  1. The settings endpoints can then power the settings screens in WC core.

  2. Plugins can add settings to these screens through the API, allowing plugins to maintain a single settings codebase for both WP Admin and Store on .com.

  3. Create a settings importer/exporter: woocommerce/woocommerce#13089

TODO:

Design/create the Schema

@claudiosanches claudiosanches transferred this issue from woocommerce/wc-api-dev Oct 4, 2019
@issue-label-bot

This comment has been minimized.

Copy link

@issue-label-bot issue-label-bot bot commented Oct 4, 2019

Issue-Label Bot is automatically applying the label type: feature request to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.