woocommerce_hooked_blocks_theme_include_list

FILTER woocommerce\includes\wc-update-functions.php (ligne 2808) github
A list of theme slugs to execute this with. We are applying this filter to allow for the list to be extended by third-parties who were already using it.

Paramètres

Entrée :
array( 'Twenty Twenty-Four', 'Twenty Twenty-Three', 'Twenty Twenty-Two', 'Tsubaki', 'Zaino', 'Thriving Artist', 'Amulet', 'Tazza'
Sortie :
N/A

Utilisation

// Modifier la valeur avec le filtre 'woocommerce_hooked_blocks_theme_include_list'
add_filter('woocommerce_hooked_blocks_theme_include_list', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(array( 'Twenty Twenty-Four') {
    // Modifier la valeur
    return array( 'Twenty Twenty-Four';
}

Actualités

Chargement des actualités...