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