Title: Filter support
Last modified: August 30, 2016

---

# Filter support

 *  Resolved [napsinbklyn](https://wordpress.org/support/users/napsinbklyn/)
 * (@napsinbklyn)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/filter-support/)
 * Hi there,
    I am customizing a Give form through the filters in my functions file,
   and I have successfully made adjustments to some of the filter examples I have
   found, but I’m not sure what filters to use for some of the requested tweaks 
   by my client. 1. They have asked me to add some text below the payment selection
   row regarding paypal accounts. Is there a way to inject copy right below the 
   payment selection field? 2. Is there a filter to change the text for “offline
   donation” to “mail a check”? 3. Also, it was requested of me to remove or adjust
   the “donation total” field at the bottom/top. Would it be possible to remove 
   or adjust that field? I think they are finding it confusing, I am curious if 
   there are any filter examples to tweak that part of the form. Thanks so much!
 * [https://wordpress.org/plugins/give/](https://wordpress.org/plugins/give/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/filter-support/#post-6607749)
 * HI there,
 * No problem.
 * **AFTER PAYMENT SELECTION ROW**
 *     ```
       add_action('give_payment_mode_after_gateways_wrap', 'custom_after_payment_selection');
   
       function custom_after_payment_selection() {
       	echo '<p>This is custom text AFTER the payment selection row</p>';
       }
       ```
   
 * **OFFLINE DONATIONS LABEL**
 *     ```
       add_filter('give_payment_gateways', 'custom_offline_label');
   
       function custom_offline_label($gateways) {
       	$gateways['offline'] = array(
       		'admin_label'    => 'Offline Donation',
       		'checkout_label' => __( 'Mail a Check', 'give' )
       	);
   
           return $gateways;
       }
       ```
   
 * **DONATION TOTAL**
    Because the total is needed for processing and is stored 
   and reused in many different areas it’s not suggested to remove it. Instead, 
   I would just hide that via CSS, like so:
 *     ```
       p#give-final-total-wrap {
           display:none;
       }
       ```
   
 * I’ll update our documentation with these samples. Thanks for your questions, 
   keep us posted on how it goes!
 *  Thread Starter [napsinbklyn](https://wordpress.org/support/users/napsinbklyn/)
 * (@napsinbklyn)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/filter-support/#post-6607751)
 * Awesome! This is great, and thank you for getting back so quickly!
    I apologize
   for running this on one thread…is there any way to make the custom donation amount
   selection the default? Or, to make the $____ field at the top empty? Thanks!
 *  Plugin Contributor [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/filter-support/#post-6607862)
 * The amount field will be empty if you choose “Set Donation” and enable the “Custom
   Amount” option. But for multi-level donations, we don’t have an out of the box
   way to make the Custom Amount the default. You’d have to do that with Javascript,
   like something like this example:
 * [http://stackoverflow.com/questions/9476617/how-to-set-radio-button-status-with-javascript](http://stackoverflow.com/questions/9476617/how-to-set-radio-button-status-with-javascript)
 * Thanks!
 *  [kriptap](https://wordpress.org/support/users/kriptap/)
 * (@kriptap)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/filter-support/#post-6607996)
 * I want to rename OFFLINE DONATIONS LABEL on the user side?
 * What file is it located in?
 * Thanks
 *  [gianpaj](https://wordpress.org/support/users/gianpaj/)
 * (@gianpaj)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/filter-support/#post-6608002)
 * I agree this should be a setting in the admin panel instead of a filter that 
   developers.
 * The file is located here:
    wp-content/plugins/give/includes/gateways/offline-
   donations.php
 * But you shouldn’t modify the plugin files directly because if you upgrade it 
   you’ll loose all the changes.
    You should modify the child theme like this: [https://iandunn.name/the-right-way-to-customize-a-wordpress-plugin/](https://iandunn.name/the-right-way-to-customize-a-wordpress-plugin/)
 * In my instance, I found a file that is similar to functions.php in my child theme
   and added the filter code at the end and tested that worked.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Filter support’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [gianpaj](https://wordpress.org/support/users/gianpaj/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/filter-support/#post-6608002)
 * Status: resolved