PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.2.2
ShareThis Dashboard for Google Analytics v3.2.2
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / overwrite / ga-overwrite.php
googleanalytics / overwrite Last commit date
ga-overwrite.php 4 years ago
ga-overwrite.php
20 lines
1 <?php
2 /**
3 * Overwrite helpers.
4 *
5 * @package GoogleAnalytics
6 */
7
8 if ( false === function_exists( 'wp_json_encode' ) ) {
9 /**
10 * Encode a variable into JSON.
11 *
12 * @param mixed $data Variable (usually an array or object) to encode as JSON.
13 *
14 * @return false|string The JSON encoded string, or false if it cannot be encoded.
15 */
16 function wp_json_encode( $data ) {
17 return json_encode( $data ); // phpcs:ignore
18 }
19 }
20