Skip to content

Commit

Permalink
Pass path to source block.json to jetpack_register_block
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieur-z committed Sep 7, 2023
1 parent 7aa2df0 commit cbf833a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
function register_block() {
Blocks::jetpack_register_block(
Blocks::get_path_to_block_metadata( __DIR__ ),
__DIR__,
array(
'render_callback' => __NAMESPACE__ . '\render',
)
Expand Down

0 comments on commit cbf833a

Please sign in to comment.