self::STATS_ARRAY_TO_STRING_FILTER, $kvs
self::STATS_ARRAY_TO_STRING_FILTER, $kvs
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('self::STATS_ARRAY_TO_STRING_FILTER, $kvs') is found 1 times:
- /jetpack_vendor/automattic/jetpack-stats/src/class-tracking-pixel.php line 413
* @since-jetpack 1.1.0 * * @param array $kvs Array of options about the site and page you're on. */ $kvs = (array) apply_filters( self::STATS_ARRAY_TO_STRING_FILTER, $kvs ); $kvs = array_map( 'strval', $kvs ); // Encode into JSON object for direct use in JS. return wp_json_encode( $kvs, JSON_UNESCAPED_SLASHES | JSON_HEX_TAG | JSON_HEX_AMP ); }