函数原型
get_the_author_description(): string
函数描述
Retrieve the description of the author of the current post.
是否弃用
Warning: This function has been deprecated. Use get_the_author_meta() instead.
函数参数
无
函数返回值
string The author’s description.
函数位置
File: wp-includes/deprecated.php.
函数源码
function get_the_author_description() {
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'description\')' );
return get_the_author_meta('description');
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.8.0 | Use get_the_author_meta() |
| 1.5.0 | Introduced. |

