WP Manifestindependent plugin directory
manifest / developer / afca-mpdf-loader

AFCA mPDF Loader

Load mPDF globally on WordPress for snippets and other plugins.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/andrefcamorim/afca-mpdf-loader/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
AFCA mPDF Loader Load mPDF globally for WordPress snippets, themes, or other plugins. - Activate AFCA mPDF Loader plugin once. - Use the afcampdf() function anywhere in WordPress to get a ready mPDF instance. Installation 1. Using the ZIP (recommended): - Go to Plugins → Add New → Upload Plugin. - Upload afca-mpdf-loader.zip. - Activate it. 2. For development / updating dependencies: Run this in the plugin root directory to install or update mPDF. (This step is only needed if you are modifying the plugin or updating dependencies.) Usage Example Notes - $mpdf = afcampdf($configarray) returns a fully configured mPDF instance. - You can use it for generating PDFs in snippets, plugins, or theme templates. - If afcampdf() already exists, a debug notice will be logged (requires WPDEBUG = true).