Untitled - Posted on July Mon 4th 12:15 PM (Never Expires) - Format: php - See newer version(s) of this paste titled "Untitled"
  1. public static 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

35 days ago

Untitled

43 days ago

Untitled

43 days ago

Untitled

43 days ago

Untitled

43 days ago

Untitled

43 days ago

Untitled

43 days ago

Untitled

393 days ago

Read file

406 days ago

Untitled

406 days ago

Untitled