wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_interactivity_get_element › WordPress Function

Since6.7.0
Deprecatedn/a
wp_interactivity_get_element ( No parameters )
Returns:
  • () array{attributes: array<string, string|bool>}|null Current element.
Defined at:
Codex:

Returns an array representation of the current element being processed.

The function should be used only during directive processing.


Source

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