original_string: protected function ajax_url(){
          $url = admin_url('admin-ajax.php');
          if( is_ssl() ){
              $url = str_replace('http://', 'https://', $url);
          }else{
              $url = str_replace('https://', 'http://', $url);
          }
          return $url;
      }
code: protected function ajax_url(){
          $url = admin_url('admin-ajax.php');
          if( is_ssl() ){
              $url = str_replace('http://', 'https://', $url);
          }else{
              $url = str_replace('https://', 'http://', $url);
          }
          return $url;
      }
code_tokens: protected function ajax_url ( ) { $ url = admin_url ( 'admin-ajax.php' ) ; if ( is_ssl ( ) ) { $ url = str_replace ( 'http://' , 'https://' , $ url ) ; } else { $ url = str_replace ( 'https://' , 'http://' , $ url ) ; } return $ url ; }
docstring: Returns Ajax endpoint
  
  @return string
docstring_tokens: Returns Ajax endpoint