Skip to content

Commit

Permalink
=4.2.6.5= ~ Add hook to order-type-student email
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhbdphyscode committed Apr 16, 2024
1 parent 326392c commit f779d54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/emails/types/class-lp-email-type-order-student.php
Expand Up @@ -54,6 +54,7 @@ protected function set_data_content_by_user( LP_Order $order, int $user_id ) {

$this->variables['{{order_user_id}}'] = $user_id;
$this->variables['{{order_user_name}}'] = $order->get_user_name( $user_id );
$this->variables = apply_filters( 'lp/email/type-order/variables-mapper/type-order-student', $this->variables, $order, $user_id );
}

/**
Expand Down

0 comments on commit f779d54

Please sign in to comment.