original_string: public function get_parent_themes($theme_name)
  	{
  		$return = array($this->create_theme_array($theme_name));
  		$theme_info = $this->load_info($theme_name);
  
  		if ( ! empty($theme_info['parent']))
  		{
  			$return = array_merge($return, $this->get_parent_themes($theme_info['parent']));
  		}
  		elseif($theme_name !== $this->fallback['name'])
  		{
  			$return[] = $this->fallback;
  		}
  
  		return $return;
  	}
code: public function get_parent_themes($theme_name)
  	{
  		$return = array($this->create_theme_array($theme_name));
  		$theme_info = $this->load_info($theme_name);
  
  		if ( ! empty($theme_info['parent']))
  		{
  			$return = array_merge($return, $this->get_parent_themes($theme_info['parent']));
  		}
  		elseif($theme_name !== $this->fallback['name'])
  		{
  			$return[] = $this->fallback;
  		}
  
  		return $return;
  	}
code_tokens: public function get_parent_themes ( $ theme_name ) { $ return = array ( $ this -> create_theme_array ( $ theme_name ) ) ; $ theme_info = $ this -> load_info ( $ theme_name ) ; if ( ! empty ( $ theme_info [ 'parent' ] ) ) { $ return = array_merge ( $ return , $ this -> get_parent_themes ( $ theme_info [ 'parent' ] ) ) ; } elseif ( $ theme_name !== $ this -> fallback [ 'name' ] ) { $ return [ ] = $ this -> fallback ; } return $ return ; }
docstring: Returns parent theme info
  
  @param string $theme_name
  
  @return array
docstring_tokens: Returns parent theme info