Support » Plugin: User Registration & User Profile - Profile Builder » [Feature Request] Html Email Template (WooCommerce Header and Footer)

  • Hi there,

    This may be a feature request, or you may know how I can accomplish it without.

    I’d like to use the WooCommerce email header and footer in my PBP emails.

    I’ve found the following function form Woo wc_get_template_html –

    But am unsure if you provide the necessary filter in PBP to apply this to you $message body.

    Is this possible at the moment, or will it require a feature request?

    If it is possible, can you point me to the filter required and instructions on implementation?

    Thank you 🙂

Viewing 1 replies (of 1 total)
  • Plugin Author Georgian Cocora


    Hello @paxjah,

    Each email provides a filter for the subject and content. For example, this would be the hook for the body of the User Registration Email (no Email Confirmation):

    add_filter( 'wppb_register_user_email_message_without_admin_approval', 'wppbc_custom_email_sent_on_user_registration', 20, 4 );
    function wppbc_custom_email_sent_on_user_registration( $user_message_content, $email, $password, $user_message_subject ){
        $new_message = "Enter your message template here";
        return $new_message;

    You just need to extend this further using the WooCommerce functions you found.

    Let me know if this helps.


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.