Snippets: Remove Sections from Easy Digital Downloads Product Pages

add_filter( 'wpex_download_single_blocks', function( $blocks ) {
    unset( $blocks['meta'] );  // Remove meta
    unset( $blocks['share'] ); // Remove social share
    return $blocks;
} );

Snippet Type: PHP

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)