Introduction
↑ Back to topAPI Parameter Structure:
Params | Type | Required | Values | Description |
title | string | yes | User defined value | |
status | string | yes | publish, trash | Work for the PUT method only. |
_thumbnail_id | int | no | attachment id | You will find attachment id in media library |
wc-donation-disp-single-page | string | no | yes,no | Default value is no |
wc-donation-disp-shop-page | string | no | yes, no | Default is no |
wc-donation-amount-display-option | string | yes | predefined, free-value, both | Default is both |
pred-amount | Array of int or float | Yes (if amount type is predefined or both) else no | User defined array with sets of amount without currency symbol (ex. [‘10’,’20’,’25.5’…]) | Pass value without a currency symbol. |
pred-label | Array of string | Yes (if amount type is predefined or both) else no | User defined array with sets of labels string | The size or array should be the same as pred-amount, if you want to leave any label then pass only double quote in array “” |
free-min-amount | Int or float | Yes (if amount type is free-value or both) else no | User defined value | Default is empty |
free-max-amount | Int or float | Yes (if amount type is free-value or both) else no | User defined value | Default is empty |
wc-donation-display-donation-type | string | no | select, radio, label | Default value is select |
wc-donation-currency-position | string | no | before, after | Default is before |
wc-donation-title | string | no | User defined value | Default is empty |
wc-donation-button-text | string | no | User defined value | Default is donate |
wc-donation-button-text-color | color | no | Hexcode of color without | #FFFFFF |
wc-donation-button-bg-color | color | no | Hexcode of color without | #333333 |
wc-donation-recurring | string | no | enabled, disabled,user | Default is disabled If user then do not pass interval , period & length param |
_subscription_period_interval | int | Yes (if recurring is enabled) else No | 1 to 6 | If wrong value pass then 1 will be selected |
_subscription_period | string | Yes (if recurring is enabled) else No | day, month, year, week | |
_subscription_length | int | Yes (if recurring is enabled) else No | 0 to 24 for month, 0 to 90 for day, 0 to 52 for week, 0 to 5 for year | 0 used for “never expired” |
wc-donation-recurring-txt | string | Yes (if recurring is user) else No | User defined value | |
wc-donation-goal-display-option | string | no | enabled, disabled | Default is disabled |
wc-donation-goal-display-type | string | Yes (if donation goal is enabled) else No | fixed_amount , percentage_amount, no_of_donation, no_of_days | Default is fixed_amount |
wc-donation-goal-fixed-amount-field | int of float | Yes (if goal type is fixed_amount or percentage_amount) else No | User defined value | pass number without currency symbol |
wc-donation-goal-fixed-initial-amount-field | int or float | no | User defined value | pass number without currency symbol, This will work only if wc-donation-goal-display-type is fixed_amount or percentage_amount |
wc-donation-goal-no-of-donation-field | int | Yes (if goal type is no_of_donation) else No | User defined value | Default is empty |
wc-donation-goal-no-of-days-field | date | Yes (if goal type is no_of_days) else No | date | dd-mm-yy 25-Aug-2022 yy-mm-dd 2022-1-15 Without “0” in mm |
wc-donation-goal-progress-bar-color | color | no | Hexcode of color without | #333333 |
wc-donation-goal-display-donor-count | string | no | enabled, disabled | Default is disabled |
wc-donation-goal-close-form | string | no | enabled, disabled | Default is disabled |
wc-donation-goal-close-form-text | string | no | User defined text | Default is empty |
wc-donation-progress-on-shop | string | no | enabled, disabled | Default is disabled |
wc-donation-progress-on-widget | string | no | enabled, disabled | Default is disabled |
wc-donation-cause-display-option | string | no | show,hide | Default is hide |
donation-cause-img | Array of string | no | Image full url in array | Default is none |
donation-cause-name | Array of string | Yes, if donation cause image array is passed else no | User defined text in array | Default is empty |
donation-cause-desc | Array of string | Yes, if donation cause image array is passed else no. | User defined text in array | Default is empty |
tributes | Array of strings | no | User defined text in array | Default is empty |
REST API
↑ Back to topAuthorization
↑ Back to top- Go to Users.
- Select and Edit any user you want to assign authorization of APIs.
- In the User Edit Page insert any name of your application password.
- Click on the Add New Application password.
- After Click on New Application Password Unique password will be generated.
- In the Postman Select Basic Auth from Auth Type from the Authorization Tab.
- Insert username and Application password in Basic Auth.
- After configuration, click on Send button to test the authorization.
Without Authorization.
↑ Back to top- Trying using API without Authorization.
To access the Donation REST API routes, you will first need to enable the WC Donation API from WC Donation > General Settings
In Donation REST API you will be able to CREATE Campaign (POST) , UPDATE Campaign (PUT) , DELETE Campaign, GET all campaigns and GET specific campaigns.
Test if the API is working:
↑ Back to topMaking a basic request
The request URL we’ll test is wp-json/wc-donation/v1/campaign. On localhost the full URL may look something like this: http://dev.wordpress.local/wp-json/wc-donation/v1/campaign. Modify this to use your own site URL.
In Postman, you need to set the fields for request type, request URL, and the settings on the authorization tab. For Authorization, choose basic auth and enter your admin email and Application password from the wordpress user profile
Once you’re done, hit send, and you’ll see the JSON response from the API if everything went well. The response should look like this:
Create Campaign
↑ Back to topDescription
↑ Back to topCreates a Donation Campaign with the given parameters from the request body, after created the first object is campaign id, through campaign id you can update , delete and get specific campaign
Request URL & Method:
POST
wp-json/wc-donation/v1/campaign/
Content-Type: application/json
Request Body Example:
↑ Back to top{
"title": "A Campaign by API",
"_thumbnail_id": 3341,
"wc-donation-disp-single-page": "yes",
"wc-donation-disp-shop-page": "yes",
"wc-donation-amount-display-option": "both",
"pred-amount": ["10.25", "20.25", "30.25"],
"pred-label": ["label1", "label2", "label3"],
"free-min-amount": "10.25",
"free-max-amount": "30.25",
"wc-donation-display-donation-type": "radio",
"wc-donation-currency-position": "after",
"wc-donation-title": "Help for the cause",
"wc-donation-button-text": "Donate Us",
"wc-donation-button-text-color": "00ff00",
"wc-donation-button-bg-color": "2e6057",
"wc-donation-recurring": "enabled",
"_subscription_period_interval": 1,
"_subscription_period": "month",
"_subscription_length": 3,
"wc-donation-goal-display-option": "enabled",
"wc-donation-goal-display-type": "percentage_amount",
"wc-donation-goal-fixed-amount-field": 12000,
"wc-donation-goal-fixed-initial-amount-field": 1250,
"wc-donation-goal-progress-bar-color": "FF0000",
"wc-donation-goal-display-donor-count": "enabled",
"wc-donation-goal-close-form": "enabled",
"wc-donation-goal-close-form-text": "goal is ended now",
"wc-donation-progress-on-shop": "enabled",
"wc-donation-progress-on-widget": "enabled",
"wc-donation-cause-display-option": "show",
"donation-cause-img":
["https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chai-tea.svg", "https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chicken.svg"],
"donation-cause-name": ["cause 1", "cause 2"],
"donation-cause-desc": ["desc 1", "desc 2"],
"tributes": ["In the Honor of Donation Plugin", "In the Honor of Restaurant Plugin", "In the Honor of Objects"]
}
Response Example:
↑ Back to top{
"ID": 74,
"post_author": "1",
"post_date": "2022-08-18 17:03:35",
"post_date_gmt": "2022-08-18 12:03:35",
"post_content": "",
"post_title": "A Campaign by API",
"post_excerpt": "",
"post_status": "publish",
"comment_status": "closed",
"ping_status": "closed",
"post_password": "",
"post_name": "a-campaign-by-api",
"to_ping": "",
"pinged": "",
"post_modified": "2022-08-18 17:03:35",
"post_modified_gmt": "2022-08-18 12:03:35",
"post_content_filtered": "",
"post_parent": 0,
"guid": "https://woocommerce-224605-1524250.cloudwaysapps.com/wc-donation/a-campaign-by-api/",
"menu_order": 0,
"post_type": "wc-donation",
"post_mime_type": "",
"comment_count": "0",
"filter": "raw",
"campaign_meta": {
"_thumbnail_id": [
"3341"
],
"wc-donation-tablink": [
"tab-1"
],
"wc-donation-disp-single-page": [
"yes"
],
"wc-donation-disp-shop-page": [
"yes"
],
"wc-donation-amount-display-option": [
"both"
],
"pred-amount": [
"a:3:{i:0;s:5:\"10.25\";i:1;s:5:\"20.25\";i:2;s:5:\"30.25\";}"
],
"pred-label": [
"a:3:{i:0;s:6:\"label1\";i:1;s:6:\"label2\";i:2;s:6:\"label3\";}"
],
"free-min-amount": [
"10.25"
],
"free-max-amount": [
"30.25"
],
"wc-donation-display-donation-type": [
"radio"
],
"wc-donation-currency-position": [
"after"
],
"wc-donation-title": [
"Help for the cause"
],
"wc-donation-button-text": [
"Donate Us"
],
"wc-donation-button-text-color": [
"00ff00"
],
"wc-donation-button-bg-color": [
"2e6057"
],
"wc-donation-recurring": [
"enabled"
],
"_subscription_period_interval": [
"1"
],
"_subscription_period": [
"month"
],
"_subscription_length": [
"3"
],
"wc-donation-goal-display-option": [
"enabled"
],
"wc-donation-goal-display-type": [
"percentage_amount"
],
"wc-donation-goal-fixed-amount-field": [
"12000"
],
"wc-donation-goal-fixed-initial-amount-field": [
"1250"
],
"wc-donation-goal-no-of-donation-field": [
""
],
"wc-donation-goal-no-of-days-field": [
""
],
"wc-donation-goal-total-days": [
"0"
],
"wc-donation-goal-progress-bar-color": [
"FF0000"
],
"wc-donation-goal-display-donor-count": [
"enabled"
],
"wc-donation-goal-close-form": [
"enabled"
],
"wc-donation-goal-close-form-text": [
"goal is ended now"
],
"wc-donation-progress-on-shop": [
"enabled"
],
"wc-donation-progress-on-widget": [
"enabled"
],
"wc-donation-cause-display-option": [
"show"
],
"donation-cause-names": [
"a:2:{i:0;s:7:\"cause 1\";i:1;s:7:\"cause 2\";}"
],
"donation-cause-desc": [
"a:2:{i:0;s:6:\"desc 1\";i:1;s:6:\"desc 2\";}"
],
"donation-cause-img": [
"a:2:{i:0;s:92:\"https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chai-tea.svg\";i:1;s:91:\"https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chicken.svg\";}"
],
"tributes": [
"a:3:{i:0;s:31:\"In the Honor of Donation Plugin\";i:1;s:33:\"In the Honor of Restaurant Plugin\";i:2;s:23:\"In the Honor of Objects\";}"
],
"wc_donation_product": [
"3437"
],
"wc-donation-recurring-txt": [
"Please make it recurring donation"
],
"inline_featured_image": [
"0"
],
"total_donors": [
""
],
"total_donations": [
""
],
"total_donation_amount": [
""
]
}
}
Update Campaign
↑ Back to topDescription
↑ Back to topUpdate the WC Donation campaign by campaign id. The request will not update key values that aren’t present in the request body; it will remain the same as it was before, however if they are present their value will be updated. The request will return the updated Campaign data object.
Request URL & Method:
PUT
wp-json/wc-donation/v1/campaign/ {Campaign_id}
Content-Type: application/json
Request Body Example:
↑ Back to top{
"wc-donation-amount-display-option": "free-value",
"free-min-amount": "1",
"free-max-amount": "5000",
"wc-donation-display-donation-type": "select",
"wc-donation-recurring": "enabled",
"_subscription_period_interval": 6,
"_subscription_period": "week",
"_subscription_length": 52
}
Response Example:
↑ Back to top{
"ID": 74,
"post_author": "1",
"post_date": "2022-09-06 13:49:27",
"post_date_gmt": "2022-09-06 13:49:27",
"post_content": "",
"post_title": "A Campaign by API",
"post_excerpt": "",
"post_status": "publish",
"comment_status": "closed",
"ping_status": "closed",
"post_password": "",
"post_name": "a-campaign-by-api-2",
"to_ping": "",
"pinged": "",
"post_modified": "2022-09-06 13:49:27",
"post_modified_gmt": "2022-09-06 13:49:27",
"post_content_filtered": "",
"post_parent": 0,
"guid": "http://wpexperts.local/wc-donation/a-campaign-by-api-2/",
"menu_order": 0,
"post_type": "wc-donation",
"post_mime_type": "",
"comment_count": "0",
"filter": "raw",
"campaign_meta": {
"_thumbnail_id": [
"3341"
],
"wc-donation-tablink": [
"tab-1"
],
"wc-donation-disp-single-page": [
"yes"
],
"wc-donation-disp-shop-page": [
"yes"
],
"wc-donation-amount-display-option": [
"free-value"
],
"pred-amount": [
"a:3:{i:0;s:5:\"10.25\";i:1;s:5:\"20.25\";i:2;s:5:\"30.25\";}"
],
"pred-label": [
"a:3:{i:0;s:6:\"label1\";i:1;s:6:\"label2\";i:2;s:6:\"label3\";}"
],
"free-min-amount": [
"1"
],
"free-max-amount": [
"5000"
],
"wc-donation-display-donation-type": [
"select"
],
"wc-donation-currency-position": [
"after"
],
"wc-donation-title": [
"Help for the cause"
],
"wc-donation-button-text": [
"Donate Us"
],
"wc-donation-button-text-color": [
"00ff00"
],
"wc-donation-button-bg-color": [
"2e6057"
],
"wc-donation-recurring": [
"enabled"
],
"_subscription_period_interval": [
"6"
],
"_subscription_period": [
"week"
],
"_subscription_length": [
"52"
],
"wc-donation-goal-display-option": [
"enabled"
],
"wc-donation-goal-display-type": [
"percentage_amount"
],
"wc-donation-goal-fixed-amount-field": [
"12000"
],
"wc-donation-goal-fixed-initial-amount-field": [
"1250"
],
"wc-donation-goal-no-of-donation-field": [
""
],
"wc-donation-goal-no-of-days-field": [
""
],
"wc-donation-goal-total-days": [
"0"
],
"wc-donation-goal-progress-bar-color": [
"FF0000"
],
"wc-donation-goal-display-donor-count": [
"enabled"
],
"wc-donation-goal-close-form": [
"enabled"
],
"wc-donation-goal-close-form-text": [
"goal is ended now"
],
"wc-donation-progress-on-shop": [
"enabled"
],
"wc-donation-progress-on-widget": [
"enabled"
],
"wc-donation-cause-display-option": [
"show"
],
"donation-cause-names": [
"a:2:{i:0;s:7:\"cause 1\";i:1;s:7:\"cause 2\";}"
],
"donation-cause-desc": [
"a:2:{i:0;s:6:\"desc 1\";i:1;s:6:\"desc 2\";}"
],
"donation-cause-img": [
"a:2:{i:0;s:92:\"https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chai-tea.svg\";i:1;s:91:\"https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chicken.svg\";}"
],
"tributes": [
"a:3:{i:0;s:31:\"In the Honor of Donation Plugin\";i:1;s:33:\"In the Honor of Restaurant Plugin\";i:2;s:23:\"In the Honor of Objects\";}"
],
"wc_donation_product": [
"75"
],
"total_donors": [
""
],
"total_donations": [
""
],
"total_donation_amount": [
""
]
}
}
Delete Campaign
↑ Back to topDescription
Delete Campaign by campaign id, the will stored in trash when deleted by API.
Request URL & Method:
DELETE
wp-json/wc-donation/v1/campaign/ {Campaign_id}
Response Example:
↑ Back to top{
"ID": 51,
"message": "Campaign deleted successfully"
}
Get Specific Campaign
↑ Back to topDescription
↑ Back to topRetrieves a single or specific campaign by its ID. The response contains the Campaign data object.
Request URL & Method:
GET
wp-json/wc-donation/v1/campaign/ {Campaign_id}
Response Example:
↑ Back to top{
"ID": 74,
"post_author": "1",
"post_date": "2022-09-06 13:49:27",
"post_date_gmt": "2022-09-06 13:49:27",
"post_content": "",
"post_title": "A Campaign by API",
"post_excerpt": "",
"post_status": "publish",
"comment_status": "closed",
"ping_status": "closed",
"post_password": "",
"post_name": "a-campaign-by-api-2",
"to_ping": "",
"pinged": "",
"post_modified": "2022-09-06 13:49:27",
"post_modified_gmt": "2022-09-06 13:49:27",
"post_content_filtered": "",
"post_parent": 0,
"guid": "http://wpexperts.local/wc-donation/a-campaign-by-api-2/",
"menu_order": 0,
"post_type": "wc-donation",
"post_mime_type": "",
"comment_count": "0",
"filter": "raw",
"campaign_meta": {
"_thumbnail_id": [
"3341"
],
"wc-donation-tablink": [
"tab-1"
],
"wc-donation-disp-single-page": [
"yes"
],
"wc-donation-disp-shop-page": [
"yes"
],
"wc-donation-amount-display-option": [
"free-value"
],
"pred-amount": [
[
"10.25",
"20.25",
"30.25"
]
],
"pred-label": [
[
"label1",
"label2",
"label3"
]
],
"free-min-amount": [
"1"
],
"free-max-amount": [
"5000"
],
"wc-donation-display-donation-type": [
"select"
],
"wc-donation-currency-position": [
"after"
],
"wc-donation-title": [
"Help for the cause"
],
"wc-donation-button-text": [
"Donate Us"
],
"wc-donation-button-text-color": [
"00ff00"
],
"wc-donation-button-bg-color": [
"2e6057"
],
"wc-donation-recurring": [
"enabled"
],
"_subscription_period_interval": [
"6"
],
"_subscription_period": [
"week"
],
"_subscription_length": [
"52"
],
"wc-donation-goal-display-option": [
"enabled"
],
"wc-donation-goal-display-type": [
"percentage_amount"
],
"wc-donation-goal-fixed-amount-field": [
"12000"
],
"wc-donation-goal-fixed-initial-amount-field": [
"1250"
],
"wc-donation-goal-no-of-donation-field": [
""
],
"wc-donation-goal-no-of-days-field": [
""
],
"wc-donation-goal-total-days": [
"0"
],
"wc-donation-goal-progress-bar-color": [
"FF0000"
],
"wc-donation-goal-display-donor-count": [
"enabled"
],
"wc-donation-goal-close-form": [
"enabled"
],
"wc-donation-goal-close-form-text": [
"goal is ended now"
],
"wc-donation-progress-on-shop": [
"enabled"
],
"wc-donation-progress-on-widget": [
"enabled"
],
"wc-donation-cause-display-option": [
"show"
],
"donation-cause-names": [
"a:2:{i:0;s:7:\"cause 1\";i:1;s:7:\"cause 2\";}"
],
"donation-cause-desc": [
"a:2:{i:0;s:6:\"desc 1\";i:1;s:6:\"desc 2\";}"
],
"donation-cause-img": [
"a:2:{i:0;s:92:\"https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chai-tea.svg\";i:1;s:91:\"https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chicken.svg\";}"
],
"tributes": [
"a:3:{i:0;s:31:\"In the Honor of Donation Plugin\";i:1;s:33:\"In the Honor of Restaurant Plugin\";i:2;s:23:\"In the Honor of Objects\";}"
],
"wc_donation_product": [
"75"
],
"total_donors": [
""
],
"total_donations": [
""
],
"total_donation_amount": [
""
]
}
}
Get all Campaigns
↑ Back to topDescription
↑ Back to topRetrieves all currently available campaigns. The response will contain the Campaign data object.
Request URL & Method:
↑ Back to topGET
wp-json/wc-donation/v1/campaign/
Response Example:
↑ Back to top[
{
"ID": 76,
"post_author": "1",
"post_date": "2022-09-06 15:17:29",
"post_date_gmt": "2022-09-06 15:17:29",
"post_content": "",
"post_title": "Test Campaign",
"post_excerpt": "",
"post_status": "publish",
"comment_status": "closed",
"ping_status": "closed",
"post_password": "",
"post_name": "test-campaign",
"to_ping": "",
"pinged": "",
"post_modified": "2022-09-06 15:17:29",
"post_modified_gmt": "2022-09-06 15:17:29",
"post_content_filtered": "",
"post_parent": 0,
"guid": "http://wpexperts.local/wc-donation/test-campaign/",
"menu_order": 0,
"post_type": "wc-donation",
"post_mime_type": "",
"comment_count": "0",
"filter": "raw",
"campaign_meta": {
"wc-donation-tablink": [
"tab-1"
],
"wc-donation-disp-single-page": [
"yes"
],
"wc-donation-disp-shop-page": [
"yes"
],
"wc-donation-amount-display-option": [
"free-value"
],
"pred-amount": [
""
],
"pred-label": [
""
],
"free-min-amount": [
"1"
],
"free-max-amount": [
"520.5"
],
"wc-donation-display-donation-type": [
"label"
],
"wc-donation-currency-position": [
"after"
],
"wc-donation-title": [
"Donation box"
],
"wc-donation-button-text": [
"Donate Us"
],
"wc-donation-button-text-color": [
"B80DFF"
],
"wc-donation-button-bg-color": [
"F7F7F7"
],
"wc-donation-recurring": [
"enabled"
],
"_subscription_period_interval": [
"6"
],
"_subscription_period": [
"year"
],
"_subscription_length": [
"0"
],
"wc-donation-goal-display-option": [
"enabled"
],
"wc-donation-goal-display-type": [
"no_of_days"
],
"wc-donation-goal-fixed-amount-field": [
""
],
"wc-donation-goal-fixed-initial-amount-field": [
""
],
"wc-donation-goal-no-of-donation-field": [
""
],
"wc-donation-goal-no-of-days-field": [
"25-dec-2022"
],
"wc-donation-goal-total-days": [
"110"
],
"wc-donation-goal-progress-bar-color": [
"FF0000"
],
"wc-donation-goal-display-donor-count": [
"enabled"
],
"wc-donation-goal-close-form": [
""
],
"wc-donation-goal-close-form-text": [
""
],
"wc-donation-progress-on-shop": [
""
],
"wc-donation-progress-on-widget": [
""
],
"wc-donation-cause-display-option": [
"hide"
],
"donation-cause-names": [
""
],
"donation-cause-desc": [
""
],
"donation-cause-img": [
""
],
"tributes": [
""
],
"wc_donation_product": [
"77"
],
"total_donors": [
""
],
"total_donations": [
""
],
"total_donation_amount": [
""
]
}
},
{
"ID": 74,
"post_author": "1",
"post_date": "2022-09-06 13:49:27",
"post_date_gmt": "2022-09-06 13:49:27",
"post_content": "",
"post_title": "A Campaign by API",
"post_excerpt": "",
"post_status": "publish",
"comment_status": "closed",
"ping_status": "closed",
"post_password": "",
"post_name": "a-campaign-by-api-2",
"to_ping": "",
"pinged": "",
"post_modified": "2022-09-06 13:49:27",
"post_modified_gmt": "2022-09-06 13:49:27",
"post_content_filtered": "",
"post_parent": 0,
"guid": "http://wpexperts.local/wc-donation/a-campaign-by-api-2/",
"menu_order": 0,
"post_type": "wc-donation",
"post_mime_type": "",
"comment_count": "0",
"filter": "raw",
"campaign_meta": {
"_thumbnail_id": [
"3341"
],
"wc-donation-tablink": [
"tab-1"
],
"wc-donation-disp-single-page": [
"yes"
],
"wc-donation-disp-shop-page": [
"yes"
],
"wc-donation-amount-display-option": [
"free-value"
],
"pred-amount": [
"a:3:{i:0;s:5:\"10.25\";i:1;s:5:\"20.25\";i:2;s:5:\"30.25\";}"
],
"pred-label": [
"a:3:{i:0;s:6:\"label1\";i:1;s:6:\"label2\";i:2;s:6:\"label3\";}"
],
"free-min-amount": [
"1"
],
"free-max-amount": [
"5000"
],
"wc-donation-display-donation-type": [
"select"
],
"wc-donation-currency-position": [
"after"
],
"wc-donation-title": [
"Help for the cause"
],
"wc-donation-button-text": [
"Donate Us"
],
"wc-donation-button-text-color": [
"00ff00"
],
"wc-donation-button-bg-color": [
"2e6057"
],
"wc-donation-recurring": [
"enabled"
],
"_subscription_period_interval": [
"6"
],
"_subscription_period": [
"week"
],
"_subscription_length": [
"52"
],
"wc-donation-goal-display-option": [
"enabled"
],
"wc-donation-goal-display-type": [
"percentage_amount"
],
"wc-donation-goal-fixed-amount-field": [
"12000"
],
"wc-donation-goal-fixed-initial-amount-field": [
"1250"
],
"wc-donation-goal-no-of-donation-field": [
""
],
"wc-donation-goal-no-of-days-field": [
""
],
"wc-donation-goal-total-days": [
"0"
],
"wc-donation-goal-progress-bar-color": [
"FF0000"
],
"wc-donation-goal-display-donor-count": [
"enabled"
],
"wc-donation-goal-close-form": [
"enabled"
],
"wc-donation-goal-close-form-text": [
"goal is ended now"
],
"wc-donation-progress-on-shop": [
"enabled"
],
"wc-donation-progress-on-widget": [
"enabled"
],
"wc-donation-cause-display-option": [
"show"
],
"donation-cause-names": [
"a:2:{i:0;s:7:\"cause 1\";i:1;s:7:\"cause 2\";}"
],
"donation-cause-desc": [
"a:2:{i:0;s:6:\"desc 1\";i:1;s:6:\"desc 2\";}"
],
"donation-cause-img": [
"a:2:{i:0;s:92:\"https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chai-tea.svg\";i:1;s:91:\"https://woocommerce-224605-1524250.cloudwaysapps.com/wp-content/uploads/2022/02/chicken.svg\";}"
],
"tributes": [
"a:3:{i:0;s:31:\"In the Honor of Donation Plugin\";i:1;s:33:\"In the Honor of Restaurant Plugin\";i:2;s:23:\"In the Honor of Objects\";}"
],
"wc_donation_product": [
"75"
],
"total_donors": [
"1"
],
"total_donations": [
"1"
],
"total_donation_amount": [
"2000"
]
}
}
]