It's Autumn! Prices fall like leaves! - hours only!Up to 80% off on all courses and bundles.-Close
Custom logging
Loading Customers
Subscriptions
12. Function testing
Congratulations

Instruction

Well done! Let's quickly test the new overloaded function opt_in_out().

Exercise

Using the opt_in_out() functions:

  • Subscribe the customer with ID of 4 to all existing newsletters.
  • Subscribe the customer with ID of 6 to the newsletter with ID of 1.