wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_interactivity_config › WordPress Function

Da6.5.0
Deprecaton/a
wp_interactivity_config ( $store_namespace, $config = array() )
Parametri: (2)
  • (string) $store_namespace The unique store namespace identifier.
    Richiesto:
  • (array) $config Optional. The array that will be merged with the existing configuration for the specified store namespace.
    Richiesto: No
    Default: array()
Ritorna:
  • (array) The configuration for the specified store namespace. This will be the updated configuration if a $config argument was provided.
Definito a:
Codex:

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.


Sorgenti

function wp_interactivity_config( string $store_namespace, array $config = array() ): array {
	return wp_interactivity()->config( $store_namespace, $config );
}