Brainstorm_Update_Astra_Addon::astra_addon_get_specific_stats( array $default_stats )
Pass addon specific stats to BSF analytics.
Description
Parameters
- $default_stats
-
(array) (Required) Default stats array.
Return
(array) $default_stats Default stats with addon specific stats array.
Source
File: class-brainstorm-update-astra-addon.php
public function astra_addon_get_specific_stats( $default_stats ) { $astra_settings = get_option( 'astra-settings', array() ); $default_stats['astra_settings'] = array( 'astra-addon-version' => ASTRA_EXT_VER, 'astra-theme-version' => ASTRA_THEME_VERSION, 'breadcrumb-position' => isset( $astra_settings['breadcrumb-position'] ) ? $astra_settings['breadcrumb-position'] : 'none', 'mega-menu-details' => get_option( 'ast_extension_data', array() ), ); return $default_stats; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
2.6.4 | Introduced. |