Ejemplo n.º 1
0
                             if (DW_BP::is_dw_bp_group_forum($act)) {
                                 $display = $other;
                                 $DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule EBPG2)');
                             } else {
                                 if (DW_BP::is_dw_bp_group_members($act)) {
                                     $display = $other;
                                     $DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule EBPG3)');
                                 }
                             }
                         }
                     }
                     break;
                 case 'pods':
                     if (count($act) > 0) {
                         include_once DW_MODULES . 'pods_module.php';
                         if (DW_Pods::is_dw_pods_page($act)) {
                             $display = $other;
                             $DW->message('Exception triggered for ' . $widget_id . ' sets display to ' . $e . ' (rule EPDS1)');
                         }
                     }
                     break;
             }
             // END switch ( $DW->whereami )
         }
     }
     // END if/else ( $DW->custom_post_type )
 }
 /* END if ( count($opt) > 0 ) */
 if ($display) {
     foreach ($DW->overrule_maintype as $mt) {
         if (!${$mt}) {