the_attachment_links

函式
the_attachment_links ( $id = false )
引數
  • (int|bool) $id
    Required:
    Default: false
定義位置
相關方法
the_attachment_linkget_the_attachment_linkget_attachment_link_fix_attachment_linkswp_get_attachment_link
引入
2.0.0
棄用
3.7.0

the_attachment_links: 此函式顯示當前文章的所有附件的連結。

這曾經被用來顯示附件連結。現在它已被棄用,並被存根。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function the_attachment_links( $id = false ) {
_deprecated_function( __FUNCTION__, '3.7.0' );
}
function the_attachment_links( $id = false ) { _deprecated_function( __FUNCTION__, '3.7.0' ); }
function the_attachment_links( $id = false ) {
	_deprecated_function( __FUNCTION__, '3.7.0' );
}

常見問題

FAQs
檢視更多 >