original_string: public function get_block_render_method() {
          if ($this->blockrendermethod) {
              // Return the specified block render method.
              return $this->blockrendermethod;
          }
          // Its not explicitly set, check the parent theme configs.
          foreach ($this->parent_configs as $config) {
              if (isset($config->blockrendermethod)) {
                  return $config->blockrendermethod;
              }
          }
          // Default it to blocks.
          return 'blocks';
      }
code: public function get_block_render_method() {
          if ($this->blockrendermethod) {
              // Return the specified block render method.
              return $this->blockrendermethod;
          }
          // Its not explicitly set, check the parent theme configs.
          foreach ($this->parent_configs as $config) {
              if (isset($config->blockrendermethod)) {
                  return $config->blockrendermethod;
              }
          }
          // Default it to blocks.
          return 'blocks';
      }
code_tokens: public function get_block_render_method ( ) { if ( $ this -> blockrendermethod ) { // Return the specified block render method. return $ this -> blockrendermethod ; } // Its not explicitly set, check the parent theme configs. foreach ( $ this -> parent_configs as $ config ) { if ( isset ( $ config -> blockrendermethod ) ) { return $ config -> blockrendermethod ; } } // Default it to blocks. return 'blocks' ; }
docstring: Returns the block render method.
  
  It is set by the theme via:
  $THEME->blockrendermethod = '...';
  
  It can be one of two values, blocks or blocks_for_region.
  It should be set to the method being used by the theme layouts.
  
  @return string
docstring_tokens: Returns the block render method .