original_string: protected function registerSupports()
      {
          do_action("before_theme_add_supports");
  
          foreach ($this->getConfig("supports") as $feature => $enabled):
              if (!$enabled):
                  continue;
              endif;
              add_theme_support($feature);
          endforeach;
  
          do_action("after_theme_add_supports");
      }
code: protected function registerSupports()
      {
          do_action("before_theme_add_supports");
  
          foreach ($this->getConfig("supports") as $feature => $enabled):
              if (!$enabled):
                  continue;
              endif;
              add_theme_support($feature);
          endforeach;
  
          do_action("after_theme_add_supports");
      }
code_tokens: protected function registerSupports ( ) { do_action ( "before_theme_add_supports" ) ; foreach ( $ this -> getConfig ( "supports" ) as $ feature => $ enabled ) : if ( ! $ enabled ) : continue ; endif ; add_theme_support ( $ feature ) ; endforeach ; do_action ( "after_theme_add_supports" ) ; }
docstring: Add theme features
docstring_tokens: Add theme features