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

42 days ago

FACEBOOK LINKEDI

46 days ago

BUSINESS DATABAS

138 days ago

Untitled

146 days ago

Untitled

146 days ago

Untitled

146 days ago

Untitled

146 days ago

Untitled

146 days ago

Untitled

146 days ago

Untitled

496 days ago

Read file