鱼见海资源网最新教程:
介绍
post_type_archive_title()
是自定义文章类型 post type 的archive页面标题。显示 archive.php 和 archive-{posttype}.php 页面标题。
使用
参数
$prefix
(string) (optional) What to display before the title
Default: None
$display
(bool) (optional) Whether to display or retrieve title
Default: true
返回值
(string)
Title when retrieving, null when displaying or failure.
示例
显示自定义文章类型的archive标题。
文章来源于互联网
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容