diff --git a/app/Payments.php b/app/Payments.php index 3dcc2f4..e7dbe1c 100644 --- a/app/Payments.php +++ b/app/Payments.php @@ -11,6 +11,8 @@ // phpcs:disable SlevomatCodingStandard.TypeHints.PropertyTypeHint // phpcs:disable SlevomatCodingStandard.TypeHints.ParameterTypeHint +use BeycanPress\CryptoPay\Integrator\Helpers; + class Payments { /** @@ -154,7 +156,7 @@ public function builderContent(): void */ public function builderSidebar(): void { - echo wpforms_render( + Helpers::run('ksesEcho', wpforms_render( 'builder/payment/sidebar', [ 'configured' => 'configured', @@ -164,7 +166,7 @@ public function builderSidebar(): void 'recommended' => $this->recommended, ], true - ); + )); } /**