Class Name

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #122434
    jay.turner
    Participant

    Hi,
    How can i find the class name of the new email type that I have created

    #122466
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    Thanks for reaching out.

    I am not sure what you mean by “class name”. In order to assist better, could you please provide more details?

    Kind regards,
    Moshtafizur

    #122471
    jay.turner
    Participant

    I need to create some custom code and I need to hook into this email type. Do you have the class name, or the email type name.

    so how the processing email is WC_Email_Customer_Processing_Order., I need to know the name for the custom email

    #122596
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    Thanks for providing more information.

    I have escalated this with our development team. They will let you know.

    In the meantime, if you have any other questions, then please let me know.

    Kind regards,
    Moshtafizur

    #122617
    Tom Anbinder
    Moderator
    Plugin Support

    Hi, Jay,

    All our plugin emails are Alg_WC_Custom_Email class objects.

    When we add them to WooCommerce via the woocommerce_email_classes filter, we use these keys:

    Alg_WC_Custom_Email
    Alg_WC_Custom_Email_2
    Alg_WC_Custom_Email_3
    ...

    And custom email IDs are:

    alg_wc_custom
    alg_wc_custom_2
    alg_wc_custom_3
    ...

    I hope this helps. Please let me know if you have any questions.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.