WordPress文章修改作者标签:the_modified_author

文 / @WordPress主题

WordPress模板标签the_modified_author输出文章的最后修改作者名称,需要用在The Loop主循环里。

the_modified_author()

该函数没有参数,直接调用即可。

函数使用示例

<p>文章最后由 <?php the_modified_author(); ?> 修改</p>

扩展阅读

the_modified_author()函数位于:wp-includes/author-template.php

相关函数:

  • get_the_date()
  • get_the_time()
  • the_date()
  • the_modified_date()
  • get_the_modified_date()
  • the_modified_time()
  • get_the_modified_time()
  • the_time()
添加UTHEME为好友
扫码添加UTHEME微信为好友
· 分享WordPress相关技术文章,主题上新与优惠动态早知道。
· 微信端最大WordPress社群,限时免费入群。