wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_interactivity_state › WordPress Function
Depuis6.5.0
Dépréciéen/a
› wp_interactivity_state ( $store_namespace = null, $state = array() )
| Paramètres: (2) |
|
| Retourne: |
|
| Défini(e) dans: | |
| Codex: | |
| Changelog: |
|
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.