public
array
|
#
register_routes( array $routes )
Register routes for POS Settings
Register routes for POS Settings
GET /pos
Parameters
Returns
array
|
public
array
|
#
get_settings( string $id = '', null $wc_pos_admin = null, $defaults = false )
Parameters
- $id
- $wc_pos_admin
- $defaults
Returns
array
|
public
array|WP_Error
|
#
edit_settings( string $id, $data )
Parameters
Returns
array|WP_Error
Throws
WC_API_Exception
|
public
array|WP_Error
|
|
public
|
#
delete_all_settings( )
Delete all settings in WP options table
Delete all settings in WP options table
|