A list of pattern slugs to exclude from auto-insert (useful when there are patterns that have a very specific location for the block) Note: The patterns that are currently excluded are the ones that don't work well with the mini-cart block or customer-account block.
array_unique( array_merge( isset( $this->hooked_block_excluded_patterns
Sortie :
// Modifier la valeur avec le filtre 'woocommerce_hooked_blocks_pattern_exclude_list'
add_filter('woocommerce_hooked_blocks_pattern_exclude_list', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(array_unique( array_merge( isset( $this->hooked_block_excluded_patterns) {
// Modifier la valeur
return array_unique( array_merge( isset( $this->hooked_block_excluded_patterns;
}
Chargement des actualités...