Skip to content

Instantly share code, notes, and snippets.

@Fitoussi
Last active November 30, 2018 03:50
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 Fitoussi/50dc4e944c0cc7f394c68aa555df9a4c to your computer and use it in GitHub Desktop.
Save Fitoussi/50dc4e944c0cc7f394c68aa555df9a4c to your computer and use it in GitHub Desktop.
Arguments for GEOm y WP dropdown taxonomy function.
$args = array(
'taxonomy' => $taxonomy, // taxonomy slug
'orderby' => 'name',
'order' => 'ASC,
'hide_empty' => 1,
'include' => '',
'exclude' => '',
'exclude_tree' => '',
'number' => 0,
'hierarchical' => 1,
'child_of' => 0,
'pad_counts' => 1,
'selected' => '',
'depth' => '',
'category_icons' => '',
'gmw_form_id' => 0,
'show_option_all' => ' -- All categories --,
'show_count' => 0
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment