Skip to content

Commit

Permalink
Docs: Fix PHP example for register_block_type - apiVersion to api_ver…
Browse files Browse the repository at this point in the history
…sion (#30818)
  • Loading branch information
reason-alex authored Apr 13, 2021
1 parent ba81294 commit 5b49012
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function gutenberg_examples_01_register_block() {
);

register_block_type( 'gutenberg-examples/example-01-basic-esnext', array(
'apiVersion' => 2,
'api_version' => 2,
'editor_script' => 'gutenberg-examples-01-esnext',
) );

Expand Down

0 comments on commit 5b49012

Please sign in to comment.