Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created September 25, 2012 18:12
Show Gist options
  • Select an option

  • Save objectivehtml/3783504 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/3783504 to your computer and use it in GitHub Desktop.
<?php
$channels = $this->EE->channel_data->get_channels(array(
'where' => array(
'site_id' => 1
)
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment