the_modified_author() - WordPress 函数参考中文文档

返回介绍

the_modified_author()

发布于 2017-09-11 字数1408 浏览 862 评论 0

the_modified_author()

Display the name of the author who last edited the current post, if the author’s ID is available.


描述


源代码

File: wp-includes/author-template.php

function the_modified_author() {
	echo get_the_modified_author();
}

更新日志

Version 描述
2.8.0 Introduced.

相关函数

Uses

  • wp-includes/author-template.php:
    get_the_modified_author()

User Contributed Notes

  1. Skip to note content

    You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note

    Contributed by Codex

    Display Last Modified Author’s ‘Public’ Name

    Displays the value in the user’s Display name publicly as field.

    
    <p>This post was last modified by <?php the_modified_author(); ?></p>
    

上一篇:the_meta()

下一篇:the_modified_date()

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

目前还没有任何评论,快来抢沙发吧!