Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function hook_customizations_views_pre_render(&$view) {
- if ($view->name == 'admin_views_user'){
- $chk_box_filters = array('mail_1', 'field_dm_speechkit_premium_value', 'field_dm_standard_value', 'field_clu_value');
- for($i=0;$i<COUNT($chk_box_filters);$i++){
- if(isset($view->exposed_raw_input[$chk_box_filters[$i]][1])){
- if($view->exposed_raw_input[$chk_box_filters[$i]][1] == 0) {
- unset($view->exposed_raw_input[$chk_box_filters[$i]][1]);
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment