core/libraries/form_sections/inputs/EE_State_Select_Input.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 97-101 (lines=5) @@
                                 | 
                            
                                                            
                                    | 94 | 
                                     | 
                                            if (! empty($states)) { | 
                                
                                                            
                                    | 95 | 
                                     | 
                                                // set the default  | 
                                
                                                            
                                    | 96 | 
                                     | 
                                                $state_options[''][''] = '';  | 
                                
                                                            
                                    | 97 | 
                                     | 
                                                foreach ($states as $state) { | 
                                
                                                            
                                    | 98 | 
                                     | 
                                                    if ($state instanceof EE_State) { | 
                                
                                                            
                                    | 99 | 
                                     | 
                                                        $state_options[ $state->country()->name() ][ $state->get($this->valueFieldName()) ] = $state->name();  | 
                                
                                                            
                                    | 100 | 
                                     | 
                                                    }  | 
                                
                                                            
                                    | 101 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 102 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 103 | 
                                     | 
                                            return $state_options;  | 
                                
                                                            
                                    | 104 | 
                                     | 
                                        }  | 
                                
                                                                        
                 
                                                            
                    
modules/single_page_checkout/reg_steps/attendee_information/EE_SPCO_Reg_Step_Attendee_Information.class.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 799-803 (lines=5) @@
                                 | 
                            
                                                            
                                    | 796 | 
                                     | 
                                                ? EEM_State::instance()->get_all_states()  | 
                                
                                                            
                                    | 797 | 
                                     | 
                                                : EEM_State::instance()->get_all_active_states();  | 
                                
                                                            
                                    | 798 | 
                                     | 
                                            if (! empty($states)) { | 
                                
                                                            
                                    | 799 | 
                                     | 
                                                foreach ($states as $state) { | 
                                
                                                            
                                    | 800 | 
                                     | 
                                                    if ($state instanceof EE_State) { | 
                                
                                                            
                                    | 801 | 
                                     | 
                                                        $state_options[ $state->country()->name() ][ $state->ID() ] = $state->name();  | 
                                
                                                            
                                    | 802 | 
                                     | 
                                                    }  | 
                                
                                                            
                                    | 803 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 804 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 805 | 
                                     | 
                                            $state_options = apply_filters(  | 
                                
                                                            
                                    | 806 | 
                                     | 
                                                'FHEE__EE_SPCO_Reg_Step_Attendee_Information___generate_question_input__state_options',  |