WC Settings API #27363
Labels
focus: rest api
Issues related to WooCommerce REST API.
focus: settings
Issues related to managing settings.
plugin: woocommerce
Issues related to the WooCommerce Core plugin.
priority: normal
The issue/PR is of normal priority—not many people are affected or there’s a workaround, etc.
team: Proton
WC Core development and maintenance
type: enhancement
The issue is a request for an enhancement.
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: #18669
Future Use:
The settings endpoints can then power the settings screens in WC core.
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.
Create a settings importer/exporter: Import/Export all shop settings #13089
TODO:
Design/create the Schema
The text was updated successfully, but these errors were encountered: