Skip to content

Instantly share code, notes, and snippets.

@hchouhan
Created October 1, 2013 14:26
Show Gist options
  • Select an option

  • Save hchouhan/6779336 to your computer and use it in GitHub Desktop.

Select an option

Save hchouhan/6779336 to your computer and use it in GitHub Desktop.
MPI - 2
[php]
// get our variable from $atts
extract(shortcode_atts(array(
'slug' => '', //foo is a default value
'field' => ''
), $atts));
[/php]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment