diff --git a/includes/Admin/Settings_Screens/Connection.php b/includes/Admin/Settings_Screens/Connection.php index fc20b02a2..1d678fa0a 100644 --- a/includes/Admin/Settings_Screens/Connection.php +++ b/includes/Admin/Settings_Screens/Connection.php @@ -467,15 +467,6 @@ public function get_settings() { 'default' => 'no', ), - array( - 'id' => \WC_Facebookcommerce_Integration::SETTING_ENABLE_NEW_STYLE_FEED_GENERATOR, - 'title' => __( 'Experimental! Enable new style feed generation', 'facebook-for-woocommerce' ), - 'type' => 'checkbox', - 'desc' => __( 'Use new, memory improved, feed generation process.', 'facebook-for-woocommerce' ), - /* translators: %s URL to the documentation page. */ - 'desc_tip' => sprintf( __( 'This is an experimental feature in testing phase. Only enable this if you are experiencing problems with feed generation. Learn more.', 'facebook-for-woocommerce' ), 'https://woocommerce.com/document/facebook-for-woocommerce/#feed-generation' ), - 'default' => 'no', - ), array( 'type' => 'sectionend' ), ); } diff --git a/includes/Admin/Settings_Screens/Shops.php b/includes/Admin/Settings_Screens/Shops.php index 1993f80a2..e26ce8950 100644 --- a/includes/Admin/Settings_Screens/Shops.php +++ b/includes/Admin/Settings_Screens/Shops.php @@ -299,16 +299,6 @@ public function get_settings() { 'default' => 'no', ), - array( - 'id' => \WC_Facebookcommerce_Integration::SETTING_ENABLE_NEW_STYLE_FEED_GENERATOR, - 'title' => __( '[Experimental] Use new, memory improved, feed generation process', 'facebook-for-woocommerce' ), - 'type' => 'checkbox', - 'desc' => __( 'Enable', 'facebook-for-woocommerce' ), - /* translators: %s URL to the documentation page. */ - 'desc_tip' => sprintf( __( 'This is an experimental feature in testing phase. Only enable this if you are experiencing problems with feed generation. Learn more.', 'facebook-for-woocommerce' ), 'https://woocommerce.com/document/facebook-for-woocommerce/#feed-generation' ), - 'default' => 'no', - ), - array( 'type' => 'sectionend' ), ); } diff --git a/tests/Unit/Admin/Settings/ConnectionTest.php b/tests/Unit/Admin/Settings/ConnectionTest.php index 568aa782c..243541675 100644 --- a/tests/Unit/Admin/Settings/ConnectionTest.php +++ b/tests/Unit/Admin/Settings/ConnectionTest.php @@ -47,10 +47,5 @@ public function testGetSettings(): void { $debug_setting = $settings[2]; $this->assertEquals('checkbox', $debug_setting['type']); $this->assertEquals('no', $debug_setting['default']); - - // Check feed generator setting - $feed_setting = $settings[3]; - $this->assertEquals('checkbox', $feed_setting['type']); - $this->assertEquals('no', $feed_setting['default']); } } diff --git a/tests/Unit/Admin/Settings/ShopsTest.php b/tests/Unit/Admin/Settings/ShopsTest.php index a8e8b3bfa..8fbf44b8d 100644 --- a/tests/Unit/Admin/Settings/ShopsTest.php +++ b/tests/Unit/Admin/Settings/ShopsTest.php @@ -61,10 +61,5 @@ public function testGetSettings(): void { $debug_setting = $settings[2]; $this->assertEquals('checkbox', $debug_setting['type']); $this->assertEquals('no', $debug_setting['default']); - - // Check feed generator setting - $feed_setting = $settings[3]; - $this->assertEquals('checkbox', $feed_setting['type']); - $this->assertEquals('no', $feed_setting['default']); } }