Skip to content

Instantly share code, notes, and snippets.

<?php
/*
Plugin Name: Gravity Forms MailChimp Custom Export
Plugin URI: http://gravityview.co/
Description: Custom plugin to force updated entries to be exported with the GF MailChimp add-on
Author: Katz Web Services, Inc.
Version: 1.1.0
Author URI: http://www.katzwebservices.com
Copyright 2014 Katz Web Services, Inc. (email: info@katzwebservices.com)
/**
* Replace the link text with a PDF image.
*
* Only for an anchor link to a PDF file in field output.
*
* Place this code (after <?php) at the bottom of your theme's functions.php file to enable it.
*
* @param string $html Existing HTML output
* @param array $args Arguments passed to the function
*/