Skip to content

Instantly share code, notes, and snippets.

@nicomen
Created February 22, 2013 12:04
Show Gist options
  • Save nicomen/5013002 to your computer and use it in GitHub Desktop.
Save nicomen/5013002 to your computer and use it in GitHub Desktop.
my @meta_list = $type eq 'enclosure' ? @{$args->{'meta'}}
: $type eq 'media_rss' ? @{prepare_media_list($args->{'meta'})}
: ();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment