You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/class-convertkit-api-v4.php
-34Lines changed: 0 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -160,40 +160,6 @@ public function __construct( $client_id, $redirect_uri, $access_token = false, $
160
160
// otherwise localization won't work.
161
161
// phpcs:disable
162
162
$this->error_messages = array(
163
-
// form_subscribe().
164
-
'form_subscribe_form_id_empty' => __( 'form_subscribe(): the form_id parameter is empty.', 'convertkit' ),
165
-
'form_subscribe_email_empty' => __( 'form_subscribe(): the email parameter is empty.', 'convertkit' ),
166
-
167
-
// sequence_subscribe().
168
-
'sequence_subscribe_sequence_id_empty' => __( 'sequence_subscribe(): the sequence_id parameter is empty.', 'convertkit' ),
169
-
'sequence_subscribe_email_empty' => __( 'sequence_subscribe(): the email parameter is empty.', 'convertkit' ),
170
-
171
-
// tag_subscribe().
172
-
'tag_subscribe_tag_id_empty' => __( 'tag_subscribe(): the tag_id parameter is empty.', 'convertkit' ),
173
-
'tag_subscribe_email_empty' => __( 'tag_subscribe(): the email parameter is empty.', 'convertkit' ),
174
-
175
-
// tag_unsubscribe().
176
-
'tag_unsubscribe_tag_id_empty' => __( 'tag_unsubscribe(): the tag_id parameter is empty.', 'convertkit' ),
177
-
'tag_unsubscribe_email_empty' => __( 'tag_unsubscribe(): the email parameter is empty.', 'convertkit' ),
178
-
'tag_unsubscribe_email_invalid' => __( 'tag_unsubscribe(): the email parameter is not a valid email address.', 'convertkit' ),
179
-
180
-
// get_subscriber_by_email().
181
-
'get_subscriber_by_email_email_empty' => __( 'get_subscriber_by_email(): the email parameter is empty.', 'convertkit' ),
182
-
/* translators: Email Address */
183
-
'get_subscriber_by_email_none' => __( 'No subscriber(s) exist in ConvertKit matching the email address %s.', 'convertkit' ),
184
-
185
-
// get_subscriber_by_id().
186
-
'get_subscriber_by_id_subscriber_id_empty' => __( 'get_subscriber_by_id(): the subscriber_id parameter is empty.', 'convertkit' ),
187
-
188
-
// get_subscriber_tags().
189
-
'get_subscriber_tags_subscriber_id_empty' => __( 'get_subscriber_tags(): the subscriber_id parameter is empty.', 'convertkit' ),
190
-
191
-
// unsubscribe_email().
192
-
'unsubscribe_email_empty' => __( 'unsubscribe(): the email parameter is empty.', 'convertkit' ),
193
-
194
-
// broadcast_delete().
195
-
'broadcast_delete_broadcast_id_empty' => __( 'broadcast_delete(): the broadcast_id parameter is empty.', 'convertkit' ),
196
-
197
163
// get_all_posts().
198
164
'get_all_posts_posts_per_request_bound_too_low' => __( 'get_all_posts(): the posts_per_request parameter must be equal to or greater than 1.', 'convertkit' ),
199
165
'get_all_posts_posts_per_request_bound_too_high' => __( 'get_all_posts(): the posts_per_request parameter must be equal to or less than 50.', 'convertkit' ),
0 commit comments