monsterinsights_yst_ga_filter_ga_config

Deprecated Filter: 'yst-ga-filter-ga-config'.

Description

(array) monsterinsights_yst_ga_filter_ga_config( (array) $config ); 

Allow filtering of the GA app.

Returns (array)

GA App config.

Parameters (1)

0. $config (array)
GA App config.

Usage

  1. if ( !function_exists( 'monsterinsights_yst_ga_filter_ga_config' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-analytics-for-wordpress-by-monsterinsights/includes/deprecated.php'; 
  3.  
  4. // GA App config. 
  5. $config = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = monsterinsights_yst_ga_filter_ga_config($config); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/deprecated.php  
  1. function monsterinsights_yst_ga_filter_ga_config( $config ) { 
  2. $message = sprintf( __( 'Use %s instead.', 'google-analytics-for-wordpress' ), '<code>monsterinsights_{lite/pro}_google_app_config</code>' ); 
  3. return _monsterinsights_apply_filters_deprecated( 'yst-ga-filter-ga-config', array( $config ), '6.0.0', $message );