Filter: tcp send order email subject

Description

“tcp_send_order_email_subject” filter is used to filter the subject of order emails.

Parameters

;

$subject
(Text) Current subject.
$order_id
(ID) Order ID.

Example

<?php
function my_tcp_send_order_email_subject( $subject, $order_id ) {
	return get_bloginfo();
}
add_filter( 'tcp_send_order_email_subject', 'my_tcp_send_order_email_subject', 10, 2 ); ?>

Change Log

;
Since 1.2.9

Related