/** * Decode Sales Data * @since 0.1 * @version 1.1 */ function decode_sales_data($data) { $protect = new myCRED_Protect(); if ($protect !== false) { return $protect->do_decode($data); } else { return $data; } }
/** * Decode Sales Data * @since 0.1 * @version 1.0 */ function decode_sales_data($data) { // Include require_once myCRED_INCLUDES_DIR . 'mycred-protect.php'; $protect = new myCRED_Protect(); return $protect->do_decode($data); }