Skip to content

Commit f279727

Browse files
committed
Fixed issue with Faust Integration. Had accidentally imported the function but it might not exist.
1 parent 5c3d266 commit f279727

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/hwp-previews/src/Integration/Faust_Integration.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use HWP\Previews\Admin\Settings\Fields\Settings_Field_Collection;
88
use HWP\Previews\Preview\Post\Post_Preview_Service;
99
use HWP\Previews\Preview\Post\Post_Settings_Service;
10-
use function WPE\FaustWP\Settings\faustwp_get_setting;
1110

1211
class Faust_Integration {
1312
/**
@@ -86,7 +85,7 @@ public function get_faust_frontend_url(): string {
8685
$default_value = 'http://localhost:3000';
8786

8887
if ( $this->get_faust_enabled() && function_exists( '\WPE\FaustWP\Settings\faustwp_get_setting' ) ) {
89-
$frontend_uri = faustwp_get_setting( 'frontend_uri', '' );
88+
$frontend_uri = \WPE\FaustWP\Settings\faustwp_get_setting( 'frontend_uri', '' );
9089

9190
if ( ! empty( $frontend_uri ) ) {
9291
return $frontend_uri;

0 commit comments

Comments
 (0)