You are here

function google_adwords_path_load_code_by_cid in Google AdWords Conversion Tracking 7.2

Function to load a conversion code by id.

2 calls to google_adwords_path_load_code_by_cid()
google_adwords_path_code_delete_form in modules/google_adwords_path/google_adwords_path.admin.inc
Confirmation form before deleting conversion code.
google_adwords_path_code_form in modules/google_adwords_path/google_adwords_path.admin.inc
Conversion code add / edit form.

File

modules/google_adwords_path/google_adwords_path.module, line 130
Module file for the Google Adwords Path Submodule.

Code

function google_adwords_path_load_code_by_cid($cid) {
  $codes = _google_adwords_path_load_codes($cid);
  if (count($codes)) {
    return array_shift($codes);
  }
  else {
    return FALSE;
  }
}