wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_interactivity_get_element › WordPress Function

Desde6.7.0
Obsoleton/a
› wp_interactivity_get_element ( Sem parâmetros )
Retorna:
  • (array{attributes: array<string,string|bool>}|null) Current element.
Definido em:
Codex:

Returns an array representation of the current element being processed.

The function should be used only during directive processing.


Fonte

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