original_string: protected function get_options(){
          $terms = get_terms($this->name);
          if( !$terms || is_wp_error($terms) ){
              return [];
          }else{
              $result = [];
              foreach( $terms as $term ){
                  $result[$term->term_id] = $term->name;
              }
              return $result;
          }
      }
code: protected function get_options(){
          $terms = get_terms($this->name);
          if( !$terms || is_wp_error($terms) ){
              return [];
          }else{
              $result = [];
              foreach( $terms as $term ){
                  $result[$term->term_id] = $term->name;
              }
              return $result;
          }
      }
code_tokens: protected function get_options ( ) { $ terms = get_terms ( $ this -> name ) ; if ( ! $ terms || is_wp_error ( $ terms ) ) { return [ ] ; } else { $ result = [ ] ; foreach ( $ terms as $ term ) { $ result [ $ term -> term_id ] = $ term -> name ; } return $ result ; } }
docstring: Get terms as option
  
  @return array
docstring_tokens: Get terms as option