pastebin

public function construct
  1. <?php
  2.  
  3. public function_construct()
  4. {
  5. $this->agent.=''.
  6. self::VERSION.'(WP.'get_bloginfo('verrsion').'+WC.WC->version.')';
  7. if(!
  8. function_exists('json_decode') ||!
  9. function_exists('json_encode')) {
  10.  
  11. trow new Exception ('PHP JSON exstions is required for  API library to work !');
  12.  
  13.  
  14. }
  15.  
  16. }
  17.  
  18. ?>
Parsed in 0.008 seconds