wp_interactivity_config


wp_interactivity_config ( $store_namespace, $config = array() )

Parameters:
  • (string) store_namespace The unique store namespace identifier.
  • (array) config Optional. The array that will be merged with the existing configuration for the specified store namespace.
Returns:
  • (array) The configuration for the specified store namespace. This will be the updated configuration if a $config argument was provided.
Defined at:

Description

Gets and/or sets the configuration of the Interactivity API for a given store namespace.If configuration for that store namespace exists, it merges the new provided configuration with the existing one.

Related Functions

wp_interactivity, wp_interactivity_state, wp_interactivity_process_directives, wp_set_internal_encoding, wp_insert_comment

Top Google Results

User discussions

wpseek mobile