Skip to content

Commit

Permalink
Update class-block-modifications.php
Browse files Browse the repository at this point in the history
  • Loading branch information
attackant authored Dec 1, 2023
1 parent 532ce3c commit 9f8103e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class-block-modifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function pre_render_post_block( $block_content, $block ) {
if ( ! empty( $block['attrs']['overrideUrl'] ) ) {
add_filter(
'post_link',
function () use ( $block ) {
function() use ( $block ) {
return $block['attrs']['overrideUrl'];
},
10,
Expand Down

0 comments on commit 9f8103e

Please sign in to comment.