um_email_send_subject

Hook type

Filter

Description

Change email notification subject

Parameters

$subject

(string) Subject

$key

(string) Template Key

Usage

<?php add_filter( 'um_email_send_subject', 'function_name', 10, 2 ); ?>

Examples

<?php
add_filter( 'um_email_send_subject', 'my_email_send_subject', 10, 2 );
function my_email_send_subject( $subject, $key ) {
    // your code here
return $paths;
}
?>

Change Log

Since: 2.0

Source

um_email_send_subject is located in includes/core/class-mail.php::line 104