Skip to content

Instantly share code, notes, and snippets.

@sunnyratilal
Created June 12, 2013 12:54
Show Gist options
  • Save sunnyratilal/5764997 to your computer and use it in GitHub Desktop.
Save sunnyratilal/5764997 to your computer and use it in GitHub Desktop.
function custom_edd_add_custom_field_support( $supports ) {
$new = array( 'custom-fields' );
return array_merge( $new, $supports );
}
add_filter( 'edd_download_supports', 'custom_edd_add_custom_field_support' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment