Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: user6d450
Added: May 9, 2019 11:41 PM
Views: 13
Tags: no tags
  1.      function delete($data){
  2.         $headers = [
  3.             "Token: $_SESSION[TOKEN]",
  4.             'Auth-Type: token',
  5.             "Language: $_COOKIE[language]",
  6.             "Ip:$_SERVER[REMOTE_ADDR]"
  7.            
  8.         ];  
  9.         $res = $this->callApi('cprofields/delete/',$headers,$data);
  10.         return $res;
  11.     }