You are here

function mailchimp_lists_load in Mailchimp 7.2

Loads a list by ID.

2 calls to mailchimp_lists_load()
mailchimp_lists_block_view in modules/mailchimp_lists/mailchimp_lists.module
Implements hook_block_view().
mailchimp_lists_cron in modules/mailchimp_lists/mailchimp_lists.module
Implements hook_cron().

File

modules/mailchimp_lists/mailchimp_lists.module, line 1092
Mailchimp lists module.

Code

function mailchimp_lists_load($list_id) {
  $lists = mailchimp_lists_load_multiple(array(
    $list_id,
  ), array());
  return $lists ? reset($lists) : FALSE;
}