the_author_id

函数
the_author_id ( No parameters )
相关
  • the_author_meta()
定义位置
相关方法
the_author_yimthe_author_aimthe_author_icqthe_authorget_the_author_id
引入
0.71
弃用
2.8.0

the_author_id: 该函数显示当前文章的作者或指定用户的ID。

显示当前文章的作者的ID。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function the_author_ID() {
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta('ID')' );
the_author_meta('ID');
}
function the_author_ID() { _deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta('ID')' ); the_author_meta('ID'); }
function the_author_ID() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta('ID')' );
	the_author_meta('ID');
}

常见问题

FAQs
查看更多 >