# give/4.18.0/build/Campaigns/Blocks/CampaignDonations/block.json

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 49 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/build/Campaigns/Blocks/CampaignDonations/block.json
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/build/Campaigns/Blocks/CampaignDonations/block.json
- Modified: 2025-03-31T19:17:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.18.0/code/build/Campaigns/Blocks/CampaignDonations/block.json#L10-L20`.

```json
{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "givewp/campaign-donations",
  "version": "1.0.0",
  "title": "Campaign Donations",
  "category": "give",
  "description": "Display all the donations associated with a campaign.",
  "attributes": {
    "campaignId": {
      "type": "integer"
    },
    "showAnonymous": {
      "type": "boolean",
      "default": true
    },
    "showIcon": {
      "type": "boolean",
      "default": true
    },
    "showButton": {
      "type": "boolean",
      "default": true
    },
    "donateButtonText": {
      "type": "string",
      "default": "Donate"
    },
    "sortBy": {
      "type": "string",
      "default": "recent-donations"
    },
    "donationsPerPage": {
      "type": "number",
      "default": 5
    },
    "loadMoreButtonText": {
      "type": "string",
      "default": "Load more"
    }
  },
  "supports": {
    "className": true
  },
  "example": {},
  "textdomain": "give",
  "render": "file:./render.php",
  "style": "file:../../../../build/campaignDonationsBlockApp.css"
}
```
