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';
    }
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';
    }
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' ; }
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
Returns the block render method .