PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 All 506 releases
← All changes | _inc/blocks/premium-content/block.json +71 -86 12.5.2 → 16.3-a.7 View file →
@@ -1,87 +1,72 @@
1 1 {
2 - "$schema": "https://schemas.wp.org/trunk/block.json",
3 - "apiVersion": 3,
4 - "name": "jetpack/premium-content",
5 - "title": "Paid Content",
6 - "description": "Restrict access to your content for paying subscribers.",
7 - "keywords": [
8 - "buy",
9 - "credit card",
10 - "debit card",
11 - "earn",
12 - "exclusive",
13 - "gated",
14 - "gofundme",
15 - "memberships",
16 - "money",
17 - "newsletter",
18 - "paid",
19 - "patreon",
20 - "pay",
21 - "payments",
22 - "paywall",
23 - "premium content",
24 - "purchase",
25 - "recurring",
26 - "repeat",
27 - "signin",
28 - "stripe",
29 - "subscribe",
30 - "subscriptions",
31 - "support",
32 - "sponsor",
33 - "square",
34 - "toast",
35 - "venmo",
36 - "stripe",
37 - "substack"
38 - ],
39 - "version": "12.5.0",
40 - "textdomain": "jetpack",
41 - "category": "grow",
42 - "icon": "<svg viewBox='0 0 25 24' width='25' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z' /><circle cx='12.7439' cy='8.69796' r='5.94466' stroke='currentColor' strokeWidth='1.5' fill='none' /><path d='M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533' stroke='currentColor' strokeWidth='1.5' fill='none'/></svg>",
43 - "supports": {
44 - "html": false
45 - },
46 - "providesContext": {
47 - "premium-content/planId": "selectedPlanId",
48 - "premium-content/isPreview": "isPreview",
49 - "isPremiumContentChild": "isPremiumContentChild"
50 - },
51 - "attributes": {
52 - "newPlanName": {
53 - "type": "string",
54 - "default": "Monthly Subscription"
55 - },
56 - "newPlanCurrency": {
57 - "type": "string",
58 - "default": "USD"
59 - },
60 - "newPlanPrice": {
61 - "type": "number",
62 - "default": 5
63 - },
64 - "newPlanInterval": {
65 - "type": "string",
66 - "default": "1 month"
67 - },
68 - "selectedPlanId": {
69 - "type": "number",
70 - "default": 0
71 - },
72 - "isPreview": {
73 - "type": "boolean",
74 - "default": false
75 - },
76 - "isPremiumContentChild": {
77 - "type": "boolean",
78 - "default": true
79 - }
80 - },
81 - "example": {
82 - "attributes": {
83 - "isPreview": true
84 - }
85 - },
86 - "editorScript": "file:../editor.js"
87 -}
2 + "$schema": "https://schemas.wp.org/trunk/block.json",
3 + "apiVersion": 3,
4 + "name": "premium-content/container",
5 + "title": "Paid Content",
6 + "description": "Restrict access to your content for paying subscribers.",
7 + "keywords": [
8 + "buy",
9 + "credit card",
10 + "debit card",
11 + "monetize",
12 + "earn",
13 + "exclusive",
14 + "gated",
15 + "gofundme",
16 + "memberships",
17 + "money",
18 + "newsletter",
19 + "paid",
20 + "patreon",
21 + "pay",
22 + "payments",
23 + "paywall",
24 + "premium content",
25 + "purchase",
26 + "recurring",
27 + "repeat",
28 + "signin",
29 + "stripe",
30 + "subscribe",
31 + "subscriptions",
32 + "support",
33 + "sponsor",
34 + "square",
35 + "toast",
36 + "venmo",
37 + "stripe",
38 + "substack"
39 + ],
40 + "version": "12.5.0",
41 + "textdomain": "jetpack",
42 + "category": "monetize",
43 + "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M12 1.75a6.75 6.75 0 014 12.19l1.36 6.48a.85.85 0 01-1.22.93L12 19.6l-4.14 1.75a.85.85 0 01-1.22-.93l1.36-6.48A6.75 6.75 0 0112 1.75zm0 1.5a5.25 5.25 0 100 10.5 5.25 5.25 0 000-10.5zm-2.2 12.05l-.86 4.06 2.77-1.17a.85.85 0 01.66 0l2.77 1.17-.86-4.06A6.72 6.72 0 0112 15.25a6.72 6.72 0 01-2.2-.37zM11.3 11.6 9 9.3l1.1-1.1 1.2 1.2 2.5-2.5 1.1 1.1z'/></svg>",
44 + "supports": {
45 + "html": false
46 + },
47 + "providesContext": {
48 + "premium-content/planIds": "selectedPlanIds",
49 + "premium-content/isPreview": "isPreview",
50 + "isPremiumContentChild": "isPremiumContentChild"
51 + },
52 + "attributes": {
53 + "selectedPlanIds": {
54 + "type": "array",
55 + "default": []
56 + },
57 + "isPreview": {
58 + "type": "boolean",
59 + "default": false
60 + },
61 + "isPremiumContentChild": {
62 + "type": "boolean",
63 + "default": true
64 + }
65 + },
66 + "example": {
67 + "attributes": {
68 + "isPreview": true
69 + }
70 + },
71 + "editorScript": "jetpack-blocks-editor"
72 +}