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_interactivity | Retrieves the main WP_Interactivity_API instance. |
wp_interactivity_config | Gets and/or sets the configuration of the Interactivity API for a given store namespace. |
wp_interactivity_data_wp_context | Generates a `data-wp-context` directive attribute by encoding a context array. |
wp_interactivity_get_context | Gets the current Interactivity API context for a given namespace. |
wp_interactivity_get_element | Returns an array representation of the current element being processed. |
wp_interactivity_process_directives | Processes the interactivity directives contained within the HTML content and updates the markup accordingly. |
wp_interactivity_state | Gets and/or sets the initial state of an Interactivity API store for a given namespace. |