The following code is an example of how to create a custom AutomateWoo variable. This example looks at a way that you could dynamically display text based on the number of items in an order. E.g. item or items.
Example – Custom date variable for meta field
In this example by extending the class
AutomateWoo\Variable_Abstract_Datetime the variable will support the