Snatch any course you want for just $15! Go to “Courses” and find a course ↓
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.