wp_interactivity_get_element
wp_interactivity_get_element ( No parameters )
Returns:- () array{attributes: array<string, string|bool>}|null Current element.
Defined at: - Introduced in WordPress: 6.7.0
- Deprecated in WordPress: —
Description
Returns an array representation of the current element being processed.The function should be used only during directive processing.