Advertisement
verygoodplugins

Untitled

Aug 16th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1.     /**
  2.      * We don't want to send data back to the CRM after Memberium has just received an API call
  3.      *
  4.      * @access public
  5.      * @return bool Bypass
  6.      */
  7.  
  8.     public function bypass_update( $bypass, $request ) {
  9.  
  10.         if ( function_exists( 'memberium' ) && memberium()->getDoingWebHook( $deprecated = null ) ) {
  11.             $bypass = true;
  12.         }
  13.  
  14.         return $bypass;
  15.  
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement