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。

function the_author_ID() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta('ID')' );
	the_author_meta('ID');
}

常見問題

FAQs
檢視更多 >