wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_interactivity_state › WordPress Function
Since6.5.0
已弃用n/a
› wp_interactivity_state ( $store_namespace = null, $state = array() )
| 参数: (2) |
|
| 返回: |
|
| 定义在: | |
| 文档: | |
| Change Log: |
|
Gets and/or sets the initial state of an Interactivity API store for a given namespace.
If state for that store namespace already exists, it merges the new provided state with the existing one. The namespace can be omitted inside derived state getters, using the namespace where the getter is defined.