wooblueprint_exporters

FILTER woocommerce\packages\blueprint\src\ExportSchema.php (ligne 78) github
Filters the step exporters. Allows adding/removing custom step exporters.

Paramètres

Entrée :
array_merge( $this->exporters, $built_in_exporters
Sortie :
@param StepExporter[] $exporters Array of step exporters.

Utilisation

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

function ma_fonction_filtre(array_merge( $this->exporters) {
    // Modifier la valeur
    return array_merge( $this->exporters;
}

Actualités

Chargement des actualités...