Skip to content

Commit a5a35d4

Browse files
authored
Fix original render callback 3rd arg
1 parent 80dcdb8 commit a5a35d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/clarkson-core-gutenberg-block-type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function clarkson_render_callback( $attributes, $content ) {
9191
);
9292
}
9393
if ( is_callable( $this->original_render_callback ) ) {
94-
return (string) call_user_func( $this->original_render_callback, $attributes, $content );
94+
return (string) call_user_func( $this->original_render_callback, $attributes, $content, $this );
9595
}
9696
return $content;
9797
}

0 commit comments

Comments
 (0)