Our plugin has some hooks maybe you need them.see below this hook list:
Filter Hooks:
apply_filters(‘teachable_student_email’,$order->get_billing_email(),$order_id,$item_id);
To get Teachable Student email.
Example:
Our plugin has some hooks maybe you need them.see below this hook list:
Filter Hooks:
apply_filters(‘teachable_student_email’,$order->get_billing_email(),$order_id,$item_id);
To get Teachable Student email.
Example:
<?php /* Author: WooXperto Desc: Get Teachable Student Email Date: 08.03.2023 */ function wooexperto_teachable_student_email($teachable_student_email,$order_id,$item_id){ // Change Teachable Student Email $teachable_student_email = "jhon@doe.com"; return $teachable_student_email; } add_filter('teachable_student_email','wooexperto_teachable_student_email',222,3);
apply_filters(‘teachable_student_name’,$order->get_billing_first_name(),$order_id,$item_id);
To get Teachable Student name
Example:
<?php /* Author: Hannan Desc: Get Teachable Student Name Date: 08.03.2023 */ function wooexperto_teachable_student_name($teachable_student_name,$order_id,$item_id){ // Change Teachable Student Name $teachable_student_name = "Jhon Doe"; return $teachable_student_name; } add_filter('teachable_student_name','wooexperto_teachable_student_name',333,3);