<?php wp_awhileago($ prepend,$ append,$ descriptions); ?>
?>
code> pre>
Parameters
参数 h4>
$prepend
$ prepend
(string) (optional) This text will be prepended to the plugin’s default output.
(字符串)(可选),此文本将位于插件的默认输出之前。
Default value is "" (empty string).
默认值为“”(空字符串)。 p>
$append
$ append
(string) (optional) This text will be appended to the plugin’s default output.
(字符串)(可选),此文本将附加到插件的默认输出中。
Default value is "" (empty string).
默认值为“”(空字符串)。 p>
$descriptions
$ descriptions
(array) (optional) This array allows you to change the descriptive strings displayed by the plugin.
(数组)(可选)此数组允许您更改插件显示的描述性字符串。
The default value is array: “Moments ago”, “Hours ago”, “Today”, “Yesterday”, “days”, “week”, “weeks”, “month”, “months”, “year”, “years
默认值为数组:“前一刻”,“几小时前”,“今天”,“昨天”,“天”,“周”,“周”,“月”,“月”,“年”,“年”
”, “ago”, “At some point in time”.
”,“ ago”,“在某个时间点”。 p>