Wordpress 钩子:the_category
文章目录
过滤类别或类别列表。
原型
apply_filters( 'the_category', string $thelist, string $separator, string $parents )
参数
$thelist
(string)
当前帖子的类别列表。
$separator
(string)
分类用于类别之间。
$parents
(string)
如何显示父母的类别。接受’多个’,‘单个’或空。
源文件
路径:wp-includes/category-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/the_category/
文章作者 iBllex
上次更新 2019-02-14