1. Get all settings

    Endpoint: {base_route}/wp-json/cpbw/v1/settings
    Method: GET
    Description: Retrieve all settings.
    Response Demo: 
    {
        "show_wc_sale_badge": "true",
        "show_badge_in_product_page": "true"
    }

2. Update settings: 

    Endpoint: {base_route}/wp-json/cpbw/v1/settings
    Method: PUT
    Description: update a setting.
    Response Demo: 
    Request Params: 
        * show_wc_sale_badge (boolen)
        * show_badge_in_product_page (boolen)
     
    ** Params Example **
    {
        "show_wc_sale_badge": "false",
        "show_badge_in_product_page": "true"
    }

    Response Demo: 
    {
        "show_wc_sale_badge": "false",
        "show_badge_in_product_page": "true"
    }
