VTMIN_Functions

The VarkTech Minimum Purchase for WooCommerce VTMIN Functions class.

Defined (1)

The class is defined in the following location(s).

/core/vtmin-backbone.php  
  1. class VTMIN_Functions {  
  2.  
  3. public function __construct() { 
  4.  
  5.  
  6. function vtmin_getSystemMemInfo()  
  7. {  
  8. /** Throws errors... 
  9. $data = explode("\n", file_get_contents("/proc/meminfo")); 
  10. $meminfo = array(); 
  11. foreach ($data as $line) { 
  12. list($key, $val) = explode(":", $line); 
  13. $meminfo[$key] = trim($val); 
  14. */ 
  15. $meminfo = array(); 
  16. return $meminfo; 
  17.  
  18. } //end class