$this->variations = call_user_func( $this->variation_callback );
}
}
/**
* Filters the registered variations for a block type.
*
* @since 6.5.0
*
* @param array $variations Array of registered variations for a block type.
* @param WP_Block_Type $block_type The full block type object.
*/
return apply_filters( 'get_block_type_variations', $this->variations, $this );
}
/**
* Get block uses context.
*
* @since 6.5.0
*
* @return string[]
*/
public function get_uses_context() {
/**
* Filters the registered uses context for a block type.
*
* @since 6.5.0
*
* @param string[] $uses_context Array of registered uses context for a block type.
* @param WP_Block_Type $block_type The full block type object.
*/
return apply_filters( 'get_block_type_uses_context', $this->uses_context, $this );
}
}
Fatal error: require(): Failed opening required '/var/www/html/dportilho.com.br/web/wp-includes/style-engine/class-wp-style-engine-processor.php' (include_path='.:/usr/share/pear') in /var/www/html/dportilho.com.br/web/wp-settings.php on line 394
Fatal error: Uncaught Error: Call to a member function set() on null in /var/www/html/dportilho.com.br/web/wp-includes/l10n.php:856
Stack trace:
#0 /var/www/html/dportilho.com.br/web/wp-includes/l10n.php(959): load_textdomain('default', '/var/www/html/d...', 'pt_BR')
#1 /var/www/html/dportilho.com.br/web/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain()
#2 [internal function]: WP_Fatal_Error_Handler->handle()
#3 {main}
thrown in /var/www/html/dportilho.com.br/web/wp-includes/l10n.php on line 856