Title: EDD Hide Download
Author: Andrew Munro / AffiliateWP
Published: <strong>28 juli 2013</strong>
Last modified: 9 november 2022

---

Sök tillägg

![](https://ps.w.org/edd-hide-download/assets/banner-772x250.png?rev=2804108)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://ps.w.org/edd-hide-download/assets/icon.svg?rev=2804108)

# EDD Hide Download

 Av [Andrew Munro / AffiliateWP](https://profiles.wordpress.org/sumobi/)

[Ladda ner](https://downloads.wordpress.org/plugin/edd-hide-download.1.2.11.1.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/edd-hide-download/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/edd-hide-download/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/edd-hide-download/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/edd-hide-download/#developers)

 [Support](https://wordpress.org/support/plugin/edd-hide-download/)

## Beskrivning

This plugin requires [Easy Digital Downloads](https://wordpress.org/plugins/easy-digital-downloads/).

If you’ve created a custom landing page or purchase funnel, hide the default product
page of an Easy Digital Downloads product from users, and redirect them to your 
funnel. This allows you to optimize your purchase funnel and increase revenue.

EDD Hide Download allows you to:
 1. Hide a download so it doesn’t appear on the
custom post type archive page, anywhere where the [downloads] shortcode is being
used, or any custom query on a page template 1. Prevent direct access to the download
product page. The browser will redirect the user to the site’s homepage. 1. Do a
combination of hiding the download and preventing direct access to it

This plugin is extremely useful in the following situations:

 1. You’ve created a product landing page and inserted a buy now button to your product.
    Since the landing page contains all the required product information, you can hide
    the product on the rest of your site and even prevent direct access to it.
 2. You’ve added a product (eg support package) that shouldn’t sit with your other 
    products you have listed. In this case we can simply hide it from appearing with
    the other products and insert it where we’d like it to appear using the shortcode.

**Filter example**

Example filter of how you can change the redirect based on the download ID. Copy
this function to your child theme’s functions.php or custom plugin

    ```
    function sumobi_custom_edd_hide_download_redirect( $url ) {
        // download has ID of 17
        if ( '17' == get_the_ID() ) {
            $url = 'http://easydigitaldownloads.com'; // redirect user to another external URL
        }

        // download has ID of 15
        if( '15' == get_the_ID() ) {
            $url = get_permalink( '8' ); // redirect to another download which has an ID of 8
        }

        // return our new URL
        return $url;
    }
    add_filter( 'edd_hide_download_redirect', 'sumobi_custom_edd_hide_download_redirect' );
    ```

Example filter of how you can globally change the redirect. Copy this function to
your child theme’s functions.php or custom plugin

    ```
    function sumobi_custom_edd_hide_download_redirect_url( $url ) {
        $url = get_permalink( '8' ); // redirect to another download, post or page

        return $url;
    }
    add_filter( 'edd_hide_download_redirect', 'sumobi_custom_edd_hide_download_redirect' );
    ```

**Get more with Easy Digital Downloads Pro**

[https://easydigitaldownloads.com/pricing/](https://easydigitaldownloads.com/pricing)

## Skärmdumpar

[⌊The new options added to the bottom of Easy Digital Download's Download Configuration
metabox⌉⌊The new options added to the bottom of Easy Digital Download's Download
Configuration metabox⌉[

The new options added to the bottom of Easy Digital Download’s Download Configuration
metabox

## Installation

 1. Unpack the entire contents of this plugin zip file into your `wp-content/plugins/`
    folder locally
 2. Upload to your site
 3. Navigate to `wp-admin/plugins.php` on your site (your WP Admin plugin page)
 4. Activate this plugin

OR you can just install it with WordPress by going to Plugins >> Add New >> and 
type this plugin’s name

After activation, a new ”Hide Download” section will appear at the bottom of Easy
Digital Download’s Download Configuration metabox

## Recensioner

![](https://secure.gravatar.com/avatar/04f0b4e5631a83cbcbccf0e952552fd44072bacd6334155e356464292c30e68a?
s=60&d=retro&r=g)

### 󠀁[Excellent Add-on](https://wordpress.org/support/topic/excellent-add-on/)󠁿

 [Jake Jackson](https://profiles.wordpress.org/blue-liquid-designs/) 27 januari 
2017

This plugin works as advertised. Kudos to the author!

![](https://secure.gravatar.com/avatar/5776e9351966fbb4495abc43169eb564e7fb6ce5a6b6536cb04aa768a5a3c5de?
s=60&d=retro&r=g)

### 󠀁[Exactly what I needed.](https://wordpress.org/support/topic/exactly-what-i-needed-358/)󠁿

 [Phil Derksen](https://profiles.wordpress.org/pderksen/) 3 september 2016 1 svar

Does what is says. Plain and simple.

![](https://secure.gravatar.com/avatar/56426725c280afc84d2da3e357d6b9c9c4df6e98e287f99e1a2425430a020f9d?
s=60&d=retro&r=g)

### 󠀁[Handy 🙂](https://wordpress.org/support/topic/handy-42/)󠁿

 [X-Raym](https://profiles.wordpress.org/x-raym/) 3 september 2016 1 svar

Nice feature for EDD and nice support, all good ! 🙂

![](https://secure.gravatar.com/avatar/fcbc6869ca65225c6bfbd46b7f1720efc6bd0b966f1a3ea9401663d9e9870459?
s=60&d=retro&r=g)

### 󠀁[Just what I needed](https://wordpress.org/support/topic/just-what-i-needed-388/)󠁿

 [NateWr](https://profiles.wordpress.org/natewr/) 3 september 2016 1 svar

Works great. Couldn't be simpler. Thanks!

 [ Läs alla 7 betyg ](https://wordpress.org/support/plugin/edd-hide-download/reviews/)

## Bidragsgivare och utvecklare

”EDD Hide Download” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

 *   [ Andrew Munro / AffiliateWP ](https://profiles.wordpress.org/sumobi/)
 *   [ Easy Digital Downloads ](https://profiles.wordpress.org/easydigitaldownloads/)
 *   [ Awesome Motive ](https://profiles.wordpress.org/am/)
 *   [ Chris Klosowski ](https://profiles.wordpress.org/cklosows/)
 *   [ Robin Cornett ](https://profiles.wordpress.org/littlerchicken/)
 *   [ zkawesome ](https://profiles.wordpress.org/zkawesome/)
 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)

”EDD Hide Download” har översatts till 5 språk. Tack till [översättarna](https://translate.wordpress.org/projects/wp-plugins/edd-hide-download/contributors)
för deras bidrag.

[Översätt ”EDD Hide Download” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/edd-hide-download)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/edd-hide-download/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/edd-hide-download/) 
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/edd-hide-download/)
via [RSS](https://plugins.trac.wordpress.org/log/edd-hide-download/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.2.11.1

 * Fix: If the transient of hidden products was missing, specific queries could 
   produce an infinite loop while trying to re-populate the transient.

#### 1.2.11

 * Improvement: Plugin translations are now handled by the WordPress repository.
 * Fix: The hidden downloads property could be something other than an array and
   cause a PHP error.
 * Dev: The minimum WordPress version has been updated to 4.9.

#### 1.2.10

 * Fix: Private downloads now respect the ”hide” setting.
 * New: Admins can now access hidden downloads via the REST API.
 * Dev: Refactor how the plugin is loaded.
 * Dev: All class properties are explicitly declared.
 * Tweak: Updated plugin author name and URL.

#### 1.2.9

 * New: Added Danish translation.
 * Fix: Frontend Submissions Integration: PHP notices when viewing a vendor’s store.
 * Tweak: Update plugin author name and URI to Sandhills Development, LLC.

#### 1.2.8

 * Fix: Do not hide downloads in API when user with edit_post capability is making
   API request.

#### 1.2.7

 * Fix: Fatal error if FES was not active.

#### 1.2.6

 * New: Compability with the Front End Submissions extension. When a download is
   hidden it will remain visible on the vendor’s dashboard product page

#### 1.2.5

 * Fix: Plugin became deactivated when EDD was updated

#### 1.2.4

 * Fix: Hidden downloads not being hidden properly on some pages such as the custom
   post type archive pages

#### 1.2.3

 * Fix: Forums not being shown in bbPress
 * Tweak: Moved the plugin’s options to EDD’s ”download settings” metabox

#### 1.2.2

 * Fix: Fatal error when bbPress was not active. Added check for existance of bbPress.

#### 1.2.1

 * Fix: Compatibility with bbPress – props @nphaskins‎

#### 1.2

 * Fix: array merge for post__in – props @StephenCronin
 * New: activation check for EDD
 * Tweak: Improved localization function

## Meta

 *  Version **1.2.11.1**
 *  Senast uppdaterat **4 år sedan**
 *  Aktiva installationer **500+**
 *  WordPress-version ** 4.9 eller senare **
 *  Testat upp till **6.1.16**
 *  PHP-version ** 5.3 eller senare **
 *  Språk
 * [Dutch](https://nl.wordpress.org/plugins/edd-hide-download/), [English (US)](https://wordpress.org/plugins/edd-hide-download/),
   [French (France)](https://fr.wordpress.org/plugins/edd-hide-download/), [Polish](https://pl.wordpress.org/plugins/edd-hide-download/),
   [Russian](https://ru.wordpress.org/plugins/edd-hide-download/) och [Serbian](https://sr.wordpress.org/plugins/edd-hide-download/).
 *  [Översätt till ditt språk](https://translate.wordpress.org/projects/wp-plugins/edd-hide-download)
 * Etiketter
 * [easy digital downloads](https://sv.wordpress.org/plugins/tags/easy-digital-downloads/)
   [ecommerce](https://sv.wordpress.org/plugins/tags/ecommerce/)[hide product](https://sv.wordpress.org/plugins/tags/hide-product/)
   [landing page](https://sv.wordpress.org/plugins/tags/landing-page/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/edd-hide-download/advanced/)

## Betyg

 5 av 5 stjärnor.

 *  [  7 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/edd-hide-download/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/edd-hide-download/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/edd-hide-download/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/edd-hide-download/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/edd-hide-download/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/edd-hide-download/reviews/#new-post)

[Visa alla recensioner](https://wordpress.org/support/plugin/edd-hide-download/reviews/)

## Bidragande personer

 *   [ Andrew Munro / AffiliateWP ](https://profiles.wordpress.org/sumobi/)
 *   [ Easy Digital Downloads ](https://profiles.wordpress.org/easydigitaldownloads/)
 *   [ Awesome Motive ](https://profiles.wordpress.org/am/)
 *   [ Chris Klosowski ](https://profiles.wordpress.org/cklosows/)
 *   [ Robin Cornett ](https://profiles.wordpress.org/littlerchicken/)
 *   [ zkawesome ](https://profiles.wordpress.org/zkawesome/)
 *   [ Syed Balkhi ](https://profiles.wordpress.org/smub/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/edd-hide-download/)