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