编辑“WordPress:Function Reference/wp mail”
该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
== Description == | |||
== 描述== | == 描述== | ||
Sends an email. | |||
发送一封电子邮件。 | 发送一封电子邮件。 | ||
== Parameters == | |||
== 参数 == | == 参数 == | ||
{{Parameter|$to|string|The intended recipient(s) of the message.}} | |||
{{Parameter|$subject|string|The subject of the message.}} | |||
{{Parameter|$message|string|Message content.}} | |||
{{Parameter|$headers|string|Mail headers to send with the message (advanced)|optional|''Empty''}} | |||
{{Parameter|$to|string|邮件的接收人。}} | {{Parameter|$to|string|邮件的接收人。}} | ||
第9行: | 第16行: | ||
{{Parameter|$message|string|邮件内容。}} | {{Parameter|$message|string|邮件内容。}} | ||
{{Parameter|$headers|string|邮件标题与邮件一起发送(高级的)|optional|''Empty''}} | {{Parameter|$headers|string|邮件标题与邮件一起发送(高级的)|optional|''Empty''}} | ||
== Usage == | |||
== 用法 == | == 用法 == | ||
%%% <?php wp_mail($to, $subject, $message, $headers = ''); ?> %%% | |||
%%% <?php wp_mail($to, $subject, $message, $headers = ''); ?> %%% | %%% <?php wp_mail($to, $subject, $message, $headers = ''); ?> %%% |