简体   繁体   中英

WP Better Emails Plugin - own tag

I try to create my own tag in the plugin WP Better Email. I would like to have a dynamic title (%title%)

https://wordpress.org/plugins/wp-better-emails

I use the wp_mail function.

$header = "test";

wp_mail( $mail, $subject, $message, $header, $attachments );

Now, the %title% should take the value of $header. In this case "test".

How can I realize that? I tried something with filters, but It did not work. :-(

Greets, yab86

Means u need to add the header part in the mail.Same function i have used for that. please tell your problem?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM