get_the_author_ID()
最后更新于:2021-11-27 01:07:25
get_the_author_ID()Retrieve the ID of the author of the current post.
响应
(string|int) The author’s ID.
源文件
文件: gc-includes/deprecated.php
function get_the_author_ID() {
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta('ID')' );
return get_the_author_meta('ID');
}