wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_interactivity_get_element › WordPress Function

Since6.7.0
已弃用n/a
› wp_interactivity_get_element ( 没有参数 )
返回:
  • (array{attributes: array<string,string|bool>}|null) Current element.
定义在:
文档:

Returns an array representation of the current element being processed.

The function should be used only during directive processing.


源码

function wp_interactivity_get_element(): ?array {
	return wp_interactivity()->get_element();
}