Core Function
View Source on Trac ↗ wp_interactivity_get_context()
wp_interactivity_get_context( ?string $store_namespace = null ) Gets the current Interactivity API context for a given namespace.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $store_namespace string | Optional. The unique store namespace identifier. |
Return Value
(array)
The context for the specified store namespace.
Function Information
Since Version
6.6.0
Source File
wp-includes/interactivity-api/interactivity-api.php
Advertisement