Last active
December 18, 2015 05:08
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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