Questions about our plugins? Join our live Q&A

Thursday 15 May at 09:00 PT / 12:00 ET / 18:00 CET
Register
Barn2 Plugins
  • Plugins
    • Most Popular Plugins
      • Document Library Pro
      • WooCommerce Product Table
      • WooCommerce Product Options
      • WooCommerce Fast Cart
      • WooCommerce Discount Manager
      • WooCommerce Product Filters
    • VIP ACCESS

      Get full access to all 19 plugins for one low price

      Go All Access
    • Browse All Plugins
  • Services
    • Plugin Installation & Setup
    • Plugin Customization
    • WordPress Websites
    • Maintenance Plans
    • Website Fixes
  • Support
  • Resources
    • Documentation
    • Blog
  • About
    • About
    • Team
    • Media
    • Events
  • My Account
    • My Account
    • Edit Profile
    • Affiliates
    • Priority Support
    • Log In
    • Log Out

Knowledge Base

  1. Home
  2. Knowledge Base
  3. Document Library Pro
  4. Developer Documentation

Developer Documentation

Actions and Filters

There are a number of filters provided in Document Library Pro which allow you to customize the behavior of the...

CSS selectors

​.posts-data-table The main posts <table> element .posts-data-table th The table headings .posts-data-table thead tr .posts-data-table tfoot tr The table header...

PHP documentation

Click to view the PHP API documentation.

Templates

Document Library Pro uses PHP templating to display the grid cards, submission form, and image lightbox. Template location All templates...

Template functions

dlp_get_doc_library This function can be used in your theme or plugin to retrieve a document library, passing a list of...

Overriding text strings, labels and messages in the document library

All text in Document Library Pro is fully translatable in the usual way, using the translation functions in WordPress. A...

Grid card hooks

Document Library provides the following WordPress action hooks to display additional content within the cards. document_library_pro_grid_card_before_info document_library_pro_grid_card_before_title document_library_pro_grid_card_before_excerpt document_library_pro_grid_card_before_link document_library_pro_grid_card_after_link...

Categories

  • No categories

Create a WordPress Document Library

Try the plugin risk-free!
Document Library Pro left-right CTA Buy Document Library Pro

Free E-Course: Build an Online Document Library

Start Learning

Tutorial

Have you read our step-by-step tutorial on how to create a document library, or watched the video?

Need support?

Can’t find the answer you’re looking for? We’re here to help 😀
Contact Support

Need Inspiration?

See Document Library Pro in action on real customer websites 👀

View Showcase

Plugin setup & customization service

We offer full setup services and can customize our plugins to your exact requirements 🛠️

Get a Quote

Join Our Newsletter

Get news & tutorials from Barn2.

Newsletter

Helpful articles and tutorials. No spam, unsubscribe any time.
Barn2 Plugins

Professional WordPress Plugins

  • Facebook
  • X / Twitter
  • LinkedIn
  • YouTube
  • WordPress
  • GitHub

Navigation

  • Plugins
  • Services
  • Careers
  • Affiliates
  • Sitemap

Links

  • Brand Assets
  • Barn2 Merch Store
  • Nonprofits
  • Privacy Policy
  • Terms
© 2025 Barn2 Media Ltd. UK company 08565444. All rights reserved.
WordPress® and WooCommerce® are registered trademarks of their respective owners.
logo logo-simple logo-text logo-text ampersand quote search question-mark share katie-sig support-center next-arrow My Account