From daeebfc622c254b6f155842c0fa4a5869f8781ea Mon Sep 17 00:00:00 2001 From: moon Date: Thu, 12 May 2022 14:17:05 -0700 Subject: [PATCH] Add comment for the hook --- plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php b/plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php index 7f6e444b93e..4079460aa31 100644 --- a/plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php +++ b/plugins/woocommerce/src/Internal/Admin/FeaturePlugin.php @@ -193,6 +193,11 @@ class FeaturePlugin { * @param array $features Array of feature slugs. */ public function replace_supported_features( $features ) { + /** + * Get additional feature config + * + * @since 6.5.0 + */ $feature_config = apply_filters( 'woocommerce_admin_get_feature_config', wc_admin_get_feature_config() ); $features = array_keys( array_filter( $feature_config ) ); return $features;