Last active
May 18, 2023 03:45
Revisions
-
wolfcoder renamed this gist
May 18, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
wolfcoder created this gist
May 18, 2023 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ const { registerBlockType } = wp.blocks; registerBlockType( 'my-plugin/hello-world', { title: 'Hello World', icon: 'smiley', category: 'common', edit: () => { return ( <p>Hello World!</p> ); }, save: () => { return ( <p>Hello World!</p> ); }, } );