Skip to content

Instantly share code, notes, and snippets.

@seb86
Last active December 18, 2015 04:49
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 seb86/5728571 to your computer and use it in GitHub Desktop.
Save seb86/5728571 to your computer and use it in GitHub Desktop.
writepanel-product_data.php - Added download type select option.
// Download Type
woocommerce_wp_select( array( 'id' => '_download_type', 'label' => __( 'Download Type', 'woocommerce' ), 'options' => array(
'application' => __( 'Application/Software', 'woocommerce' ),
'music' => __( 'Music', 'woocommerce' ),
) ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment