WordPress: Function Reference/wp mail:修订间差异
来自站长百科
(新页面: == Description == Sends an email. == Parameters == {{Parameter|$to|string|The intended recipient(s) of the message.}} {{Parameter|$subject|string|The subject of the message.}} {{Paramet...) |
无编辑摘要 |
||
第1行: | 第1行: | ||
== Description == | == Description == | ||
== 描述== | |||
Sends an email. | Sends an email. | ||
发送一封电子邮件。 | |||
== Parameters == | == Parameters == | ||
== 参数 == | |||
{{Parameter|$to|string|The intended recipient(s) of the message.}} | {{Parameter|$to|string|The intended recipient(s) of the message.}} | ||
{{Parameter|$subject|string|The subject of the message.}} | {{Parameter|$subject|string|The subject of the message.}} | ||
{{Parameter|$message|string|Message content.}} | {{Parameter|$message|string|Message content.}} | ||
{{Parameter|$headers|string|Mail headers to send with the message (advanced)|optional|''Empty''}} | {{Parameter|$headers|string|Mail headers to send with the message (advanced)|optional|''Empty''}} | ||
{{Parameter|$to|string|邮件的接收人。}} | |||
{{Parameter|$subject|string|邮件主题。}} | |||
{{Parameter|$message|string|邮件内容。}} | |||
{{Parameter|$headers|string|邮件标题与邮件一起发送(高级的)|optional|''Empty''}} | |||
== Usage == | == Usage == | ||
== 用法 == | |||
%%% <?php wp_mail($to, $subject, $message, $headers = ''); ?> %%% | |||
%%% <?php wp_mail($to, $subject, $message, $headers = ''); ?> %%% | %%% <?php wp_mail($to, $subject, $message, $headers = ''); ?> %%% |
2008年7月22日 (二) 14:59的版本
Description
描述
Sends an email. 发送一封电子邮件。
Parameters
参数
Usage
用法
%%% <?php wp_mail($to, $subject, $message, $headers = ); ?> %%% %%% <?php wp_mail($to, $subject, $message, $headers = ); ?> %%%