The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
public function get_config
( $params = [] ): array {
return [
'title' => 'My block pattern',
'content' => '
<!-- wp:group -->
<div class="wp-block-group">
// I'm currently use this
. CustomBlockClass::get_config()['content'] .
// But I would like to use this
. '<! namespace/custom-block /-->' .
</div>
<!-- /wp:group -->
',
];
}
}