Skip to content

Instantly share code, notes, and snippets.

@seb86
Last active December 18, 2015 05:08
Show Gist options
  • Save seb86/5730061 to your computer and use it in GitHub Desktop.
Save seb86/5730061 to your computer and use it in GitHub Desktop.
writepanel-product_data.php - Saves the new field for the download type. After line 1015
if ( isset( $_POST['_download_type'] ) )
update_post_meta( $post_id, '_download_type', esc_attr( $_POST['_download_type'] ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment