PageSourceSearch

https://www.martin-suter.com/wp-content/plugins/mailchimp-api-addon/assets/js/script.js?ver=1.0.0

js martin-suter.com collected 2026-09-24 21:51:01 UTC 3,298 bytes, 138 lines download raw bytes

1jQuery(function( $ ) {
2    console.log('Mailchimp API Addon plugin is installed');
3
4
5    $(document).on( "MC_Update", function(){
6
7        $.ajax({
8            url: MailchimpSettings.ajaxurl,
9            method: 'post',
10            data: {
11                action: 'mc_list_update',
12            }
13        }).done(function (response) {
14            if (true === response.success) {
15
16            }
17        });
18    });
19
20    $(document).on( "Purchase_Year", function(){
21        $.ajax({
22            url: MailchimpSettings.ajaxurl,
23            method: 'post',
24            data: {
25                action: 'mc_yearly_purchase',
26            }
27        }).done(function (response) {
28            if (true === response.success) {
29
30            }
31        });
32    });
33
34
35    $(document).on( "MC_Change_Year_Sub", function(){
36        $.ajax({
37            url: MailchimpSettings.ajaxurl,
38            method: 'post',
39            data: {
40                action: 'mc_change_year_sub',
41            }
42        }).done(function (response) {
43            if (true === response.success) {
44
45            }
46        });
47
48    });
49
50    $(document).on( "MC_Use_Gift", function(){
51        $.ajax({
52            url: MailchimpSettings.ajaxurl,
53            method: 'post',
54            data: {
55                action: 'mc_use_gift',
56            }
57        }).done(function (response) {
58            if (true === response.success) {
59
60            }
61        });
62    });
63
64    $(document).on( "MC_Purchase_Gift", function(event, arg){
65        $.ajax({
66            url: MailchimpSettings.ajaxurl,
67            method: 'post',
68            data: {
69                action: 'mc_purchase_gift',
70                arg,
71            }
72        }).done(function (response) {
73            if (true === response.success) {
74
75            }
76        });
77    });
78
79
80    $(document).on( "MC_Cancel_Year_Sub", function(){
81        $.ajax({
82            url: MailchimpSettings.ajaxurl,
83            method: 'post',
84            data: {
85                action: 'mc_cancel_year_sub',
86            }
87        }).done(function (response) {
88            if (true === response.success) {
89
90            }
91        });
92    });
93
94    $(document).on( "MC_Change_Payment", function(){
95        $.ajax({
96            url: MailchimpSettings.ajaxurl,
97            method: 'post',
98            data: {
99                action: 'mc_change_payment',
100            }
101        }).done(function (response) {
102            if (true === response.success) {
103                console.log('Change Payment');
104            }
105        });
106    });
107
108
109    $(document).on( "MC_Update_Newsletter", function(event, status){
110        $.ajax({
111            url: MailchimpSettings.ajaxurl,
112            method: 'post',
113            data: {
114                action: 'mc_list_newsletter',
115                status
116            }
117        }).done(function (response) {
118            if (true === response.success) {
119
120            }
121        });
122    });
123
124    $(document).on( "MC_Update_Probeabo", function(){
125        $.ajax({
126            url: MailchimpSettings.ajaxurl,
127            method: 'post',
128            data: {
129                action: 'mc_list_probeabo',
130            }
131        }).done(function (response) {
132            if (true === response.success) {
133                console.log('Add to Probeabo List');
134            }
135        });
136    });
137
138});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.