Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions includes/Admin/Settings_Screens/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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. <a href="%s" target="_blank">Learn more</a>.', 'facebook-for-woocommerce' ), 'https://woocommerce.com/document/facebook-for-woocommerce/#feed-generation' ),
'default' => 'no',
),
array( 'type' => 'sectionend' ),
);
}
Expand Down
10 changes: 0 additions & 10 deletions includes/Admin/Settings_Screens/Shops.php
Original file line number Diff line number Diff line change
Expand Up @@ -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. <a href="%s" target="_blank">Learn more</a>.', 'facebook-for-woocommerce' ), 'https://woocommerce.com/document/facebook-for-woocommerce/#feed-generation' ),
'default' => 'no',
),

array( 'type' => 'sectionend' ),
);
}
Expand Down
5 changes: 0 additions & 5 deletions tests/Unit/Admin/Settings/ConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
}
5 changes: 0 additions & 5 deletions tests/Unit/Admin/Settings/ShopsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
}