Pass the correct param in woocommerce_settings_features.
This commit is contained in:
parent
7fbb12b274
commit
1d04ddcd11
|
@ -565,11 +565,9 @@ class FeaturesController {
|
|||
*
|
||||
* @param bool $disabled False.
|
||||
*/
|
||||
$additional_features = apply_filters( 'woocommerce_settings_features', $features );
|
||||
$feature_settings = apply_filters( 'woocommerce_settings_features', $feature_settings );
|
||||
// phpcs:enable WooCommerce.Commenting.CommentHooks.MissingSinceComment
|
||||
|
||||
$feature_settings = array_merge( $feature_settings, $additional_features );
|
||||
|
||||
if ( ! empty( $experimental_feature_ids ) ) {
|
||||
$feature_settings[] = array(
|
||||
'type' => 'sectionend',
|
||||
|
|
Loading…
Reference in New Issue