You are here

function gutenberg_register_block_core_rss in Gutenberg 8.2

Same name and namespace in other branches
  1. 8 vendor/gutenberg/block-library/blocks/rss.php \gutenberg_register_block_core_rss()

Registers the `core/rss` block on server.

1 string reference to 'gutenberg_register_block_core_rss'
rss.php in vendor/gutenberg/block-library/blocks/rss.php

File

vendor/gutenberg/block-library/blocks/rss.php, line 101

Code

function gutenberg_register_block_core_rss() {
  register_block_type_from_metadata(__DIR__ . '/rss', array(
    'render_callback' => 'gutenberg_render_block_core_rss',
  ));
}