jetpack_heartbeat_stats_array

jetpack_heartbeat_stats_array

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('jetpack_heartbeat_stats_array') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/class-heartbeat.php line 158
    		 *
    		 * @param array  $stats The stats to be filtered.
    		 * @param string $prefix The prefix that will automatically be added at the begining at each stat group name.
    		 */
    		$stats  = apply_filters( 'jetpack_heartbeat_stats_array', array(), $prefix );
    		$return = array();
    
    		// Apply prefix to stats.
    		foreach ( $stats as $stat => $value ) {
    			$return[ "$prefix$stat" ] = $value;
    		}
    

See this hook used in plugins: