' . __( 'Affiliates', 'affiliates' ) . ''; if ( affiliates_is_sitewide_plugin() ) { if ( isset( $_POST['submit'] ) ) { if ( wp_verify_nonce( $_POST[AFFILIATES_MS_ADMIN_SETTINGS_NONCE], 'admin' ) ) { if ( !empty( $_POST['delete-network-data'] ) ) { update_option( 'aff_delete_network_data', true ); } else { update_option( 'aff_delete_network_data', false ); } } } $delete_network_data = get_option( 'aff_delete_network_data', false ); echo '
' . '
' . '

' . __( 'Affiliates network data', 'affiliates' ) . '

' . '

' . '' . '' . '

' . '

' . __( 'READ AND UNDERSTAND the following before activating this option:', 'affiliates' ) . '

' . '
    ' . '
  1. ' . __( 'CAUTION: If this option is active while the plugin is network deactivated, ALL affiliate and referral data will be DELETED on all sites of the network.', 'affiliates' ) . '
  2. ' . '
  3. ' . __( 'This option should only be used to clean up after testing.', 'affiliates' ) . '
  4. ' . '
  5. ' . __( 'Make sure to back up your data or do not enable this option.', 'affiliates' ) . '
  6. ' . '
  7. ' . __( 'By enabling this option you agree to be solely responsible for any loss of data or any other consequences thereof.', 'affiliates' ) . '
  8. ' . '
' . '

' . wp_nonce_field( 'admin', AFFILIATES_MS_ADMIN_SETTINGS_NONCE, true, false ) . '' . '

' . '
' . '
'; } } } Affiliates_Settings_Network::init();