Title: Downloads for logged in users
Author: daymobrew
Published: <strong>27. Januar 2026</strong>
Last modified: 28. August 2026

---

Plugins suchen

![](https://ps.w.org/downloads-for-logged-in-users/assets/banner-772x250.png?rev
=3448063)

![](https://ps.w.org/downloads-for-logged-in-users/assets/icon-256-256.png?rev=3448063)

# Downloads for logged in users

 Von [daymobrew](https://profiles.wordpress.org/daymobrew/)

[Herunterladen](https://downloads.wordpress.org/plugin/downloads-for-logged-in-users.1.0.20260828.zip)

 * [Details](https://de.wordpress.org/plugins/downloads-for-logged-in-users/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/downloads-for-logged-in-users/#reviews)
 * [Entwicklung](https://de.wordpress.org/plugins/downloads-for-logged-in-users/#developers)

 [Support](https://wordpress.org/support/plugin/downloads-for-logged-in-users/)

## Beschreibung

Limit access to specified media files to logged in users. Very simple interface 
with no unnecessary features.

Create a new ‚Download‘ post, give it a title and upload a file for it. Files are
stored in a protected directory under wp-content/uploads. This prevents anyone from
accessing a file, even if they have the url.

Access is via a custom download url that can be copied from the plugin’s admin screen.

Downloads can be assigned categories though these are for site admin organisation
use and are not used in the custom url.

The download url is not the url of the file; it is a custom url with the post ID.
This allows you update the downloadable file without having to change the download
url.

The plugin is enabled for translation.

If you find a bug, have a feature request or want to translate the plugin, please
create an issue via the plugin’s [GitHub repository](https://github.com/damiencarbery/downloads-for-logged-in-users/issues).

You can also [contact me on my website](https://www.damiencarbery.com/contact/).

### ToDo

 * Add a feature to move items from Media Library to private downloads CPT – possible‚
   Pro‘ option.
 * Have a clear UX for when the post does not exist.

### Developer information

The access can be changed with the ‚_liudownload\_check\_perms_‚ filter, returning
true to allow the download.
 For example:

    ```
    <?php
    // If the download ID is 1 then allow the download.
    add_filter( 'liudownload_check_perms', 'my_download_perms_check', 10, 2 );
    function my_download_perms_check( $user_logged_in, $download_id ) {
        if ( 1 == $download_id ) { return true; }

        return $user_logged_in;
    }
    ```

After a file has been downloaded the ‚_liudownload\_after\_download_‚ action runs.
This could allow tracking of downloads.
 For example:

    ```
    <?php
    add_action( 'liudownload_after_download', 'note_downloads' );
    function note_downloads( $download_id ) {
        $download_count = get_post_meta( $download_id, 'dl_count', true );
        if ( $download_count ) {
            $download_count++;
        } else {
            $download_count = 1;
        }
        update_post_meta( $download_id, 'dl_count', $download_count );
    }
    ```

## Screenshots

[⌊The Downloads admin page allows you click to copy the custom download url.⌉⌊The
Downloads admin page allows you click to copy the custom download url.⌉[

The Downloads admin page allows you click to copy the custom download url.

[⌊Edit a download to change the uploaded file and/or the download title.⌉⌊Edit a
download to change the uploaded file and/or the download title.⌉[

Edit a download to change the uploaded file and/or the download title.

[⌊Create a new download.⌉⌊Create a new download.⌉[

Create a new download.

[⌊A JavaScript alert is shown when the user is not logged in.⌉⌊A JavaScript alert
is shown when the user is not logged in.⌉[

A JavaScript alert is shown when the user is not logged in.

## FAQ

None yet.

## Rezensionen

Zu diesem Plugin liegen noch keine Rezensionen vor.

## Mitwirkende und Entwickler

„Downloads for logged in users“ ist Open-Source-Software. Folgende Menschen haben
an diesem Plugin mitgewirkt:

Mitwirkende

 *   [ daymobrew ](https://profiles.wordpress.org/daymobrew/)

[Übersetze „Downloads for logged in users“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/downloads-for-logged-in-users)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/downloads-for-logged-in-users/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/downloads-for-logged-in-users/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/downloads-for-logged-in-users/)
per [RSS](https://plugins.trac.wordpress.org/log/downloads-for-logged-in-users/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 1.0.20260828

 * Change ‚Download link‘ in list and Edit views to a link (to allow right click
   Copy Link). Clicking still copies url to the clipboard.
 * Make ‚Copied‘ string available for translation, moving it from CSS to data-copied
   attribute.
 * Use –wp-admin-theme-color for the ‚Download link‘ background colour so it follows
   the user’s administration colour scheme.

#### 0.9.20260512

 * Change Download post permalink to be the download url. This ensures links inserted
   into block editor are the download url.

#### 0.8.20260511

 * Add „Download link“ button to Edit Download page so the link can be copied after
   publishing.
 * Add „Edit Download“ label so that the edit screen shows this instead of „Edit
   Post“.
 * Remove Permalink field from Edit Download page as the link is not the download
   link.

#### 0.7.20260227

 * Allow Download posts to be used in block edit links (making them available in
   link search).
 * Redirect the Download post’s permalink (returned by link search) to the download
   link (that checks permissions).
 * Enable ‚View‘ quick link on Downloads list view so the permalink can be selected
   another way.

#### 0.6.20260128

 * JS alert was showing at every page load – the add_action() was in the wrong place.

#### 0.5.20260127

 * Change upload dir to uploads/downloads-for-logged-in-users.

#### 0.4.20260126

 * Rename files, text domain to use new slug, ‚downloads-for-logged-in-users‘, as
   requested during WordPress Plugin review.

#### 0.3.20260125

 * Change plugin name to „Downloads for logged in users“ as requested during WordPress
   Plugin review.

#### 0.2.20260118

 * Move CSS and JS into separate files and load with wp_enqueue_script/style.

#### 0.1.20260118

 * Initial version.

## Meta

 *  Version **1.0.20260828**
 *  Zuletzt aktualisiert **vor 2 Monaten**
 *  Aktive Installationen **20+**
 *  WordPress-Version ** 6.7 oder höher **
 *  Getestet bis **7.1.3**
 *  PHP-Version ** 7.4 oder höher **
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/downloads-for-logged-in-users/)
 * Schlagwörter
 * [download](https://de.wordpress.org/plugins/tags/download/)[download manager](https://de.wordpress.org/plugins/tags/download-manager/)
   [downloads](https://de.wordpress.org/plugins/tags/downloads/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/downloads-for-logged-in-users/advanced/)

## Bewertungen

Es wurden noch keine Rezensionen eingereicht.

[Deine Rezension](https://wordpress.org/support/plugin/downloads-for-logged-in-users/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/downloads-for-logged-in-users/reviews/)

## Mitwirkende

 *   [ daymobrew ](https://profiles.wordpress.org/daymobrew/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/downloads-for-logged-in-users/)