wpseek.com
A WordPress-centric search engine for devs and theme authors



wp-includes/interactivity-api/interactivity-api.php › WordPress File

Functions7
Interactivity API: Functions and hooks


Function Short description
wp_interactivityRetrieves the main WP_Interactivity_API instance.
wp_interactivity_configGets and/or sets the configuration of the Interactivity API for a given store namespace.
wp_interactivity_data_wp_contextGenerates a `data-wp-context` directive attribute by encoding a context array.
wp_interactivity_get_contextGets the current Interactivity API context for a given namespace.
wp_interactivity_get_elementReturns an array representation of the current element being processed.
wp_interactivity_process_directivesProcesses the interactivity directives contained within the HTML content and updates the markup accordingly.
wp_interactivity_stateGets and/or sets the initial state of an Interactivity API store for a given namespace.