Core Function
View Source on Trac ↗ wp_interactivity_config()
wp_interactivity_config( string $store_namespace, array $config = array() ) Gets and/or sets the configuration of the Interactivity API for a given
Parameters 2 required
| Name / Type | Description |
|---|---|
| $store_namespace string | The unique store namespace identifier. Required |
| array | $config Optional. The array that will be merged with the existing configuration for the specified store namespace. Required |
Return Value
(array)
array The configuration for the specified store namespace. This will be the updated configuration if a
$config argument was provided.
Function Information
Since Version
6.5.0
Source File
wp-includes/interactivity-api/interactivity-api.php
Advertisement