Changeset 1407127
- Timestamp:
- 04/29/2016 07:12:28 AM (10 years ago)
- Location:
- bp-unsubscribe/trunk
- Files:
-
- 2 edited
-
bp_unsubscribe.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bp-unsubscribe/trunk/bp_unsubscribe.php
r1382948 r1407127 4 4 Plugin URI: http://www.aheadzen.com 5 5 Description: Unsubscribe plugin to stop emails coming from buddypress. 6 Version: 1.0. 56 Version: 1.0.6 7 7 Author: Ask Oracle Team 8 8 Author URI: http://ask-oracle.com/ … … 42 42 43 43 add_filter('az_voter_mail_content',array($this,'az_messages_notification_voter_mail_content'),99,4); 44 45 add_filter('bp_follow_notification_message',array($this,'az_bp_follow_notification_message'),99,4); 46 44 47 45 48 /** New filter for buddypress 2.5+ **/ … … 236 239 } 237 240 238 241 public function az_bp_follow_notification_message($message, $follower_name, $follower_link, $r){ 242 $settings_link = bp_core_get_user_domain( $r['leader_id'] ) . BP_SETTINGS_SLUG . '/notifications/'; 243 $message .= $this->get_unsubscribe_link($settings_link); 244 return $message; 245 } 239 246 240 247 /******************************* -
bp-unsubscribe/trunk/readme.txt
r1382948 r1407127 93 93 * Administrator can edit other profile's email notification. 94 94 95 = 1.0.6 = 96 * "BuddyPress Follow" (Plugin URI: http://wordpress.org/extend/plugins/buddypress-followers) 97 -- email notificaiton edit to add unsubscribe link. 95 98 99 100 101
Note: See TracChangeset
for help on using the changeset viewer.