Changeset 1649520
- Timestamp:
- 05/02/2017 10:01:03 AM (9 years ago)
- File:
-
- 1 edited
-
wp-sendgrid-smtp/trunk/wp-sendgrid-smtp.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-sendgrid-smtp/trunk/wp-sendgrid-smtp.php
r1600379 r1649520 3 3 Plugin Name: WP SendGrid SMTP 4 4 Description: WP SendGrid SMTP allows you to send all outgoing emails via SendGrid SMTP server from your WordPress site. 5 Version: 1.0. 25 Version: 1.0.3 6 6 Author: InkThemes 7 7 Author URI: https://www.inkthemes.com/ … … 53 53 add_action( 'admin_init', array( $settings, 'settings' ) ); 54 54 WPSendGrid_Mailer::Init( $settings->options ); 55 add_action('admin_notices', array( $settings,'wp_sendgridsmtp_tracking_admin_notice')); 56 register_deactivation_hook(__FILE__, array( $obj,'wp_sendgrid_smtp_delete_meta')); 55 57 } 56 58 … … 239 241 } 240 242 243 public function wp_sendgrid_smtp_delete_meta(){ 244 global $current_user; 245 $user_id = $current_user->ID; 246 delete_user_meta($user_id, 'wp_email_tracking_ignore_notice', 'true', true); 247 } 241 248 } 242 249
Note: See TracChangeset
for help on using the changeset viewer.