How to replace email notifications with custom layout?
This is example of code which help you to overwrite email notifications template add_filter('bp_better_messages_overwrite_email', 'override_messages_emailer', 10, 4); function override_messages_emailer( $bool, $user_id, $thread_id, $messages ){ $gmt_offset = get_option('gmt_offset') * 3600; /**…