Skip to main content
3 events
when toggle format what by license comment
Feb 10, 2016 at 22:51 comment added Francisco Corrales Morales You can also just do: $mailer = WC()->mailer();
Jun 23, 2014 at 10:16 comment added sun You are right, when you call mailer() it creates the instance of class WC_Emails. so then only you can access methods inside the class using the instance. +1 for the try
Feb 23, 2013 at 22:19 history answered Tomas CC BY-SA 3.0