Skip to content

Instantly share code, notes, and snippets.

@cklosowski
Created June 20, 2014 04:27
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 cklosowski/2a8d0433f1b471b1439d to your computer and use it in GitHub Desktop.
Save cklosowski/2a8d0433f1b471b1439d to your computer and use it in GitHub Desktop.
Plugin file to add author support to EDD
<?php
/*
Plugin Name: EDD Author Support
Plugin URI: http://easydigitaldownloads.com
Description: Adds Author Support to the Downloads Post Type in EDD
Version: 1.0
Author: Chris Klosowski
Author URI: http://filament-studios.com
License: GPLv2
*/
function ck_edd_add_author_support( $supports ) {
$supports[] = 'author';
return $supports;
}
add_filter( 'edd_download_supports', 'ck_edd_add_author_support', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment