Created
          February 24, 2014 20:58 
        
      - 
      
- 
        Save zzramesses/9196918 to your computer and use it in GitHub Desktop. 
    edd hierarchical
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | // make downloads hierarchical | |
| function thesrpr_edd_make_hierarchical($download_args ) { | |
| $download_args[] = array( | |
| 'hierarchical' => true | |
| ); | |
| return $download_args; | |
| } | |
| add_filter( 'edd_download_post_type_args', 'thesrpr_edd_make_hierarchical' ); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment