endelement

函式
endelement ( $parser, $tag_name )
Access
Private
引數
  • (resource) $parser XML Parser resource.
    Required:
  • (string) $tag_name XML tag name.
    Required:
定義位置
相關方法
delete_metastartelementwp_delete_commentrender_block_core_commentswp_render_elements_support
引入
0.71
棄用
-

endelement: 這是一個XML解析器的處理函式,在WordPress中用來解析XML檔案: 當解析器到達XML檔案中一個元素的末端時,它被呼叫。

XML回撥函式,在XML標籤的末尾被呼叫。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function endElement( $parser, $tag_name ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
// Nothing to do.
}
function endElement( $parser, $tag_name ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid // Nothing to do. }
function endElement( $parser, $tag_name ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
	// Nothing to do.
}

常見問題

FAQs
檢視更多 >