'; echo '

Affiliates Manager WooCommerce Subscription Integration

'; echo '
'; if (isset($_POST['wpam_wc_subscription_save_settings'])) { $first_commission_only = isset($_POST['first_commission_only']) ? '1':''; $options = array( 'first_commission_only' => $first_commission_only, ); update_option('wpam_wc_subscription_settings', $options); echo '
'; echo '

WooCommerce Subscription Settings Saved!

'; echo '
'; } $options = get_option('wpam_wc_subscription_settings'); ?>

Read the usage documentation to learn how to use the WooCommerce Subscription integration addon

First Commission Only value="1"/>

Check this if you only want to reward a commission on the first payment (by default, a commission is rewarded on all future payments of a subscription).

'; //end of poststuff and post-body echo '
'; //end of wrap }