original_string: public static function get_default_area_category_name() {
          $default = get_config('core', 'searchdefaultcategory');
  
          if (empty($default)) {
              $default = self::SEARCH_AREA_CATEGORY_ALL;
          }
  
          if ($default == self::SEARCH_AREA_CATEGORY_ALL && self::should_hide_all_results_category()) {
              $default = self::SEARCH_AREA_CATEGORY_COURSE_CONTENT;
          }
  
          return $default;
      }
code: public static function get_default_area_category_name() {
          $default = get_config('core', 'searchdefaultcategory');
  
          if (empty($default)) {
              $default = self::SEARCH_AREA_CATEGORY_ALL;
          }
  
          if ($default == self::SEARCH_AREA_CATEGORY_ALL && self::should_hide_all_results_category()) {
              $default = self::SEARCH_AREA_CATEGORY_COURSE_CONTENT;
          }
  
          return $default;
      }
code_tokens: public static function get_default_area_category_name ( ) { $ default = get_config ( 'core' , 'searchdefaultcategory' ) ; if ( empty ( $ default ) ) { $ default = self :: SEARCH_AREA_CATEGORY_ALL ; } if ( $ default == self :: SEARCH_AREA_CATEGORY_ALL && self :: should_hide_all_results_category ( ) ) { $ default = self :: SEARCH_AREA_CATEGORY_COURSE_CONTENT ; } return $ default ; }
docstring: Returns default search area category name.
  
  @return string
docstring_tokens: Returns default search area category name .