PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 3.4.4
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v3.4.4
3.4.5 3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 All 198 releases
← All changes | vendor/convertkit/convertkit-wordpress-libraries/src/class-convertkit-resource-v4.php +42 -0 3.3.4 → 3.4.4 View file →
@@ -542,8 +542,18 @@
542 542
543 543 // Build array of arguments depending on the resource type.
544 544 switch ( $resource_type ) {
545 545 case 'forms':
546 + $args = array(
547 + 'active',
548 + array(),
549 + false,
550 + '',
551 + '',
552 + $per_page,
553 + );
554 + break;
555 +
546 556 case 'landing_pages':
547 557 $args = array(
548 558 'active',
549 559 false,
@@ -562,8 +572,19 @@
562 572 $per_page,
563 573 );
564 574 break;
565 575
576 + case 'tags':
577 + case 'sequences':
578 + $args = array(
579 + array(),
580 + false,
581 + '',
582 + '',
583 + $per_page,
584 + );
585 + break;
586 +
566 587 default:
567 588 $args = array(
568 589 false,
569 590 '',
@@ -596,8 +617,18 @@
596 617 while ( $response['pagination']['has_next_page'] ) {
597 618 // Build array of arguments depending on the resource type.
598 619 switch ( $resource_type ) {
599 620 case 'forms':
621 + $args = array(
622 + 'active',
623 + array(),
624 + false,
625 + $response['pagination']['end_cursor'],
626 + '',
627 + $per_page,
628 + );
629 + break;
630 +
600 631 case 'landing_pages':
601 632 $args = array(
602 633 'active',
603 634 false,
@@ -609,8 +640,19 @@
609 640
610 641 case 'legacy_forms':
611 642 case 'legacy_landing_pages':
612 643 $args = array(
644 + false,
645 + $response['pagination']['end_cursor'],
646 + '',
647 + $per_page,
648 + );
649 + break;
650 +
651 + case 'tags':
652 + case 'sequences':
653 + $args = array(
654 + array(),
613 655 false,
614 656 $response['pagination']['end_cursor'],
615 657 '',
616 658 $per_page,