Skip to content

Instantly share code, notes, and snippets.

@evansmith
Created June 22, 2012 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evansmith/2973697 to your computer and use it in GitHub Desktop.
Save evansmith/2973697 to your computer and use it in GitHub Desktop.
getting a syntax error with the second embedded array.
$new_meta_boxes =
array(
"image" => array(
"name" => "image",
"std" => "",
"title" => "Image",
"description" => "Using the \"<em>Add an Image </em>\" button, upload an image and paste the URL here.")
"caption" => array(
"name" => "caption",
"std" => "",
"title" => "Caption",
"description" => "Insert a caption of the photograph.")
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment