PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.3.2
ShareThis Dashboard for Google Analytics v3.3.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 2 months ago
ga-overwrite.php
22 lines
1 <?php
2 /**
3 * Overwrite helpers.
4 *
5 * @package GoogleAnalytics
6 */
7
8 if (!defined('ABSPATH')) exit;
9
10 if ( false === function_exists( 'wp_json_encode' ) ) {
11 /**
12 * Encode a variable into JSON.
13 *
14 * @param mixed $data Variable (usually an array or object) to encode as JSON.
15 *
16 * @return false|string The JSON encoded string, or false if it cannot be encoded.
17 */
18 function wp_json_encode( $data ) {
19 return json_encode( $data ); // phpcs:ignore
20 }
21 }
22