wordpress conditional function for processing order template
I am looking for right WordPress conditional function, like:
I have a custom filter which is used in e-mail templates that gets sent to the customer and would like to know if its confirmation e-mail or not.
Right now I only have (for conditional statements):
is_order_received_page() && is_view_order_page()