Title: ERI File Library
Author: PluginRx
Published: <strong>27. märts 2025</strong>
Last modified: 28. okt 2025

---

Search plugins

![](https://ps.w.org/eri-file-library/assets/banner-772x250.png?rev=3262974)

![](https://ps.w.org/eri-file-library/assets/icon-256x256.png?rev=3262974)

# ERI File Library

 By [PluginRx](https://profiles.wordpress.org/apos37/)

[Download](https://downloads.wordpress.org/plugin/eri-file-library.1.1.1.zip)

 * [Details](https://et.wordpress.org/plugins/eri-file-library/#description)
 * [Reviews](https://et.wordpress.org/plugins/eri-file-library/#reviews)
 *  [Installation](https://et.wordpress.org/plugins/eri-file-library/#installation)
 * [Development](https://et.wordpress.org/plugins/eri-file-library/#developers)

 [Support](https://wordpress.org/support/plugin/eri-file-library/)

## Description

ERI File Library is a simple WordPress plugin designed for effortless file sharing
and download tracking. Easily upload and manage your files with a straightforward
interface for quick organization and access.

### Features

 * **Flexible display options**: Customize link appearances with various HTML elements
   and attributes.
 * **Shortcodes**: Easily integrate downloads into your site with shortcodes.
 * **Custom access controls**: Restrict downloads by user role or meta key.
 * **Detailed tracking**: Monitor download counts, track user interactions, and 
   log download dates.

This plugin does not have the option to sell downloads, but it can be integrated
with another payment platform by requiring a specific role or meta key to download
specific files.

## Screenshots

 * [[
 * File Library admin list table
 * [[
 * Adding/editing a file
 * [[
 * Tracking downloads – must have user tracking enabled
 * [[
 * Downloads report – must have user tracking enabled
 * [[
 * Settings
 * [[
 * Shortcodes with examples 1
 * [[
 * Shortcodes with examples 2
 * [[
 * Shortcodes with examples 3
 * [[
 * Shortcodes with examples 4

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/eri-file-library` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Start uploading and managing your downloads!

## FAQ

### How do I track downloads?

Download counts are automatically recorded for each file. If you want to additionally
track user interactions and dates, you will need to enable it. Navigate to **Files**
> **Settings**, and select the “**Enable User Tracking**” option. Doing so will 
create a new table in your database where each download is logged. “Downloads” and“
Report” pages will appear under Files in the admin menu where you can see your collected
data.

### Are there hooks available for Developers?

Yes, there are plenty. The following hooks are available:
 * `erifl_download_file_url`(
String $url, Array $file, Integer $user_id, String $user_ip ) — Filter the URL for
the file when a user is downloading it. $file contains the file data, $user_id is
the ID of the user if they are logged in, and $user_ip is the IP address of the 
user if they are logged out. * `erifl_after_file_downloaded` ( Array $file, String
$url, Integer $user_id, String $user_ip ) — Action fired after a file has been downloaded.
$file contains the file data, $url is the download URL, $user_id is the ID of the
user, and $user_ip is the IP address of the user. * `erifl_user_meets_requirements`(
Boolean $meets_requirements, Integer $file_id, Integer $user_id, Array $required_roles,
String $required_meta_key ) — Filter whether the user meets the requirements for
accessing the file. This filter allows modifying the result of the access check 
based on the user’s roles, meta key values, and any additional custom logic. * `
erifl_classes` ( Array $classes, Array $file, String $type ) — Filter the classes
used in the file download link element. $file contains an array of file data, and
$type specifies the type of link being displayed. * `erifl_download_icon` ( String
$default_icon, String $icon_type, Array $file, String $ext ) — Filter the icon used
for file downloads. $icon_type specifies the icon type (e.g., ‘logo-full’, ‘logo-
file’, ‘uni’, ‘fa’, ‘cs’), $file contains the file data, and $ext is the file extension.*`
erifl_downloaded_count_string` ( String $downloaded_string, Integer $count, Array
$file ) — Filter the string used to display the download count in the “post” type
links. $count is the number of times the file was downloaded, and $file contains
the file data. * `erifl_format_specific_prefixes` ( Array $format_prefixes, Array
$file, String $type ) — Filter the prefixes added to the displayed title of the 
link based on the file format. $file contains the file data, and $type specifies
the link type (e.g., ‘mp3’, ‘mp4’). * `erifl_ip_lookup_path` ( String $ip_address_link)—
Filter the link used for looking up a logged-out user’s IP address on the Downloads
page. * `erifl_where_used_post_types` ( Array $post_types ) — Filter the post types
used to look for where the shortcode is used. This feature is located at the bottom
of the file edit screen. * `erifl_post_meta` ( Array $meta ) — Filter the “post”
display type meta html.

### Where can I request features and get further support?

We recommend using our [website support forum](https://pluginrx.com/support/plugin/eri-file-library/)
as the primary method for requesting features and getting help. You can also reach
out via our [Discord support server](https://discord.gg/3HnzNEJVnR) or the [WordPress.org support forum](https://wordpress.org/support/plugin/eri-file-library/),
but please note that WordPress.org doesn’t always notify us of new posts, so it’s
not ideal for time-sensitive issues.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“ERI File Library” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “ERI File Library” into your language.](https://translate.wordpress.org/projects/wp-plugins/eri-file-library)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/eri-file-library/),
check out the [SVN repository](https://plugins.svn.wordpress.org/eri-file-library/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/eri-file-library/)
by [RSS](https://plugins.trac.wordpress.org/log/eri-file-library/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.1

 * Update: Added a rate limiter with an option in settings to combine limits to 
   all downloads
 * Fix: Unauthorized access due to missing capability check in AJAX action (props
   Athiwat Tiprasaharn via WordFence Vulnerability Report)

#### 1.1.0

 * Update: New support links

#### 1.0.5

 * Update: Updated author name and website per WordPress trademark policy

#### 1.0.4.1

 * Fix: Test code visible

#### 1.0.4

 * Update: Changed author name from Apos37 to WordPress Enhanced, new Author URI
 * Fix: Optimizations

#### 1.0.3

 * Fix: Translations
 * Fix: About page plugins not showing up on some sites

#### 1.0.2

 * Fix: Requirements from WP.org repo

#### 1.0.1

 * Release to WP.org repo on March 27, 2025
 * Initial release and testing on October 15, 2024

## Meta

 *  Version **1.1.1**
 *  Last updated **6 kuud ago**
 *  Active installations **10+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/eri-file-library/)
 * Tags
 * [download](https://et.wordpress.org/plugins/tags/download/)[file manager](https://et.wordpress.org/plugins/tags/file-manager/)
   [file sharing](https://et.wordpress.org/plugins/tags/file-sharing/)[links](https://et.wordpress.org/plugins/tags/links/)
   [tracking](https://et.wordpress.org/plugins/tags/tracking/)
 *  [Advanced View](https://et.wordpress.org/plugins/eri-file-library/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/eri-file-library/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/eri-file-library/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/eri-file-library/)