Home / Admin / Hide file-specific download options
Duplicate Snippet

Embed Snippet on Your Site

Hide file-specific download options

This plugin hides file-specific download options so that All Access customers can only view/download the first attached file.

Code Preview
php
<?php
function my_custom_function_to_hide_file_specific_options( $hide_file_specific_options, $download_id ) {
 	return true;
 }
 add_filter( 'edd_all_access_download_form_hide_file_specific_download_options', 'my_custom_function_to_hide_file_specific_options', 10, 2 );

Comments

Add a Comment