gsc_display_donation_link

The Google Custom Search gsc display donation link function.

Description

gsc_display_donation_link(); 

Usage

  1. if ( !function_exists( 'gsc_display_donation_link' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-custom-search/admin-page.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gsc_display_donation_link(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/admin-page.php  
  1. function gsc_display_donation_link() 
  2. global $gsc_plugin_dir_path; 
  3.  
  4. $content = '<h3>Donation</h3>'; 
  5. $content .= 'If you like our plugin and would like to support what we\'re doing, please make a donation via paypal using the link below.<br/>'; 
  6. $content .= '<a href="http://littlehandytips.com/support/">'; 
  7. $content .= '<img title="Donation" src="' . $gsc_plugin_dir_path . '/paypal-donate-button.jpg" alt="Donation" border="0" /></a>'; 
  8. $content .= '</a><br/>'; 
  9. $content .= 'Thank You!'; 
  10. return $content;