Created
May 24, 2012 01:37
-
-
Save pippinsplugins/2778958 to your computer and use it in GitHub Desktop.
Adds support for comments to the "Downloads" post type
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
<?php | |
function modify_edd_product_supports($supports) { | |
$supports[] = 'comments'; | |
return $supports; | |
} | |
add_filter('edd_download_supports', 'modify_edd_product_supports'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pasting this into any functions.php file will break your WP. Should Remove the
<?php
on line 1.