Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rocket-martue/a02331ae4ed30f180bcf5e4f994f8d38 to your computer and use it in GitHub Desktop.
Save rocket-martue/a02331ae4ed30f180bcf5e4f994f8d38 to your computer and use it in GitHub Desktop.
add_action( 'admin_menu', function() {
add_menu_page( 'Reusable Blocks', '再利用ブロック', 'edit_posts', 'edit.php?post_type=wp_block', '', 'dashicons-block-default', 22 );
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment