Untitled - Posted on July Mon 4th 12:16 PM (Never Expires) - Format: php - This is a modified post titled "Untitled".
  1. public function get_config( $params = [] ): array {
  2.         return [
  3.                 'title'      => 'My block pattern',
  4.                 'content'    => '
  5.                         <!-- wp:group -->
  6.                         <div class="wp-block-group">
  7.                                 // I'm currently use this
  8.                                 . CustomBlockClass::get_config()['content'] .
  9.                                 // But I would like to use this
  10.                                 . '<! namespace/custom-block /-->' .
  11.                         </div>
  12.                         <!-- /wp:group -->
  13.                         ',
  14.                 ];
  15.         }
  16. }

New Paste

Paste Options

Recent Pastes

18 days ago

Untitled

18 days ago

Untitled

18 days ago

Untitled

18 days ago

Untitled

18 days ago

Untitled

18 days ago

Untitled

18 days ago

Untitled

18 days ago

Untitled

18 days ago

Untitled

18 days ago

Untitled