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

160 days ago

FACEBOOK LINKEDI

165 days ago

BUSINESS DATABAS

257 days ago

Untitled

265 days ago

Untitled

265 days ago

Untitled

265 days ago

Untitled

265 days ago

Untitled

265 days ago

Untitled

265 days ago

Untitled

615 days ago

Read file