Image Hopper provides PHP actions and filters you can use to extend the plugin’s functionality. Unlike JavaScript filters (which modify FilePond behavior during upload), PHP hooks let you manipulate images and metadata before or after processing.
Examples
- Pre-populate images via PHP — seed Image Hopper fields with existing images using the Gravity Forms API.
- Store each entry’s images in a separate directory — customize the upload path so each form entry gets its own folder.
- Customize the entry details output — display uploaded images as a list of links instead of as thumbnails.
Usage
You can add PHP actions and filters to your active theme’s functions.php file, or use the Code Snippets plugin to create and manage your snippets safely.