Return data for script handles.
get_theme_support( 'wc-product-gallery-zoom'
Sortie :
@param string $handle Script handle the data will be attached to. @return array|bool
// Modifier la valeur avec le filtre 'woocommerce_single_product_zoom_enabled'
add_filter('woocommerce_single_product_zoom_enabled', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(get_theme_support( 'wc-product-gallery-zoom') {
// Modifier la valeur
return get_theme_support( 'wc-product-gallery-zoom';
}
Chargement des actualités...