Wordpress 钩子:the_terms
文章目录
过滤要显示的术语列表。
原型
apply_filters( 'the_terms', array $term_list, string $taxonomy, string $before, string $sep, string $after )
参数
$term_list
(array)
要显示的术语列表。
$taxonomy
(string)
分类名称。
$before
(string)
在术语之前使用的字符串。
$sep
(string)
术语之间使用的字符串。
$after
(string)
术语后使用的字符串。
源文件
路径:wp-includes/category-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/the_terms/
文章作者 iBllex
上次更新 2019-02-12