woocommerce_admin_get_feature_config
Filter the admin feature configs.
Использование
add_filter( 'woocommerce_admin_get_feature_config', 'wp_kama_woocommerce_admin_get_feature_config_filter' ); /** * Function for `woocommerce_admin_get_feature_config` filter-hook. * * @param $wc_admin_get_feature_config * * @return */ function wp_kama_woocommerce_admin_get_feature_config_filter( $wc_admin_get_feature_config ){ // filter... return $wc_admin_get_feature_config; }
- $wc_admin_get_feature_config
- -
Список изменений
С версии 6.5.0 | Введена. |
Где вызывается хук
woocommerce_admin_get_feature_config
woocommerce_admin_get_feature_config
woocommerce/src/Internal/Admin/SystemStatusReport.php 76
$features = apply_filters( 'woocommerce_admin_get_feature_config', wc_admin_get_feature_config() );
woocommerce/src/Internal/Admin/FeaturePlugin.php 208
$feature_config = apply_filters( 'woocommerce_admin_get_feature_config', wc_admin_get_feature_config() );