]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/forced_filter.php
Extension ext-earning introduced (unfinished), renamings:
[mailer.git] / inc / filter / forced_filter.php
index 4076911375bfd11fe50b4c9187a5e5da1a05883e..4b69b26547e749ec2690c3c078bde76cfc573050 100644 (file)
@@ -61,5 +61,22 @@ function FILTER_FORCED_AD_TYPE_DEFAULTS ($data) {
        return $data;
 }
 
+// Filter for collecting data for the member table
+function FILTER_FORCED_POPUP_TABLE_DATA ($filterData) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+       // Is this the right filter?
+       if ($filterData['earning_name'] == 'FORCED_POPUP') {
+               // Set group
+               $filterData['earning_group'] = 'POPUP';
+
+               // Get max/min/count of all popups
+               //die(__FUNCTION__.':OK!');
+       } // END - if
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+
+       // Return filter data array
+       return $filterData;
+}
+
 // [EOF]
 ?>