Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
edd hierarchical
// 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