]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Generalized more 'builder' functions, added XML template for editing user sub ids
[mailer.git] / inc / filters.php
index bd3d3fabbc5c68480b6f6ad95637efc52361d237..f5b846c5b9db2151f49171df4aa8d2b20b975707 100644 (file)
@@ -1233,5 +1233,29 @@ function FILTER_INIT_SESSION ($filterData) {
        return $filterData;
 }
 
+// Filter for sending "build mail" to admin
+function FILTER_SEND_ADMIN_BUILD_MAIL ($filterData) {
+       // Is the module 'admin'?
+       if (getModule() == 'admin') {
+               // Okay, then call the proper function
+               call_user_func_array('sendAdminBuildMails', $filterData);
+       } // END - if
+
+       // Return data
+       return $filterData;
+}
+
+// Filter for sending "build mail" to member
+function FILTER_SEND_MEMBER_BUILD_MAIL ($filterData) {
+       // Is the module 'login'?
+       if (getModule() == 'login') {
+               // Okay, then call the proper function
+               call_user_func_array('sendMemberBuildMails', $filterData);
+       } // END - if
+
+       // Return data
+       return $filterData;
+}
+
 // [EOF]
 ?>