Changeset 201519 for php-code-widget/trunk/execphp.php
- Timestamp:
- 02/03/2010 07:21:24 PM (16 years ago)
- File:
-
- 1 edited
-
php-code-widget/trunk/execphp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
php-code-widget/trunk/execphp.php
r170794 r201519 77 77 78 78 add_action('widgets_init', create_function('', 'return register_widget("PHP_Code_Widget");')); 79 80 // donate link on manage plugin page 81 add_filter('plugin_row_meta', 'execphp_donate_link', 10, 2); 82 function execphp_donate_link($links, $file) { 83 if ($file == plugin_basename(__FILE__)) { 84 $donate_link = '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=otto%40ottodestruct%2ecom">Donate</a>'; 85 $links[] = $donate_link; 86 } 87 return $links; 88 }
Note: See TracChangeset
for help on using the changeset viewer.