We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb89cd2 commit 527dfe7Copy full SHA for 527dfe7
1 file changed
includes/admin/feedzy-rss-feeds-admin.php
@@ -1767,6 +1767,15 @@ private function setup_wizard_subscribe_process() {
1767
}
1768
if ( $with_subscribe && is_email( $email ) ) {
1769
update_option( 'feedzy_rss_feeds_logger_flag', 'yes' );
1770
+
1771
+ $extra_data = array(
1772
+ 'segment' => $segment,
1773
+ );
1774
1775
+ if ( ! empty( $integrate_with ) ) {
1776
+ $extra_data['integration_scope_onboarding'] = $integrate_with;
1777
+ }
1778
1779
$request_res = wp_remote_post(
1780
FEEDZY_SUBSCRIBE_API,
1781
array(
@@ -1781,9 +1790,7 @@ private function setup_wizard_subscribe_process() {
1790
'slug' => 'feedzy-rss-feeds',
1782
1791
'site' => home_url(),
1783
1792
'email' => $email,
1784
- 'data' => array(
1785
- 'segment' => $segment,
1786
- ),
1793
+ 'data' => $extra_data
1787
1794
)
1788
1795
),
1789
1796
0 commit comments