woocommerce_csv_importer_check_import_file_path

FILTER woocommerce\includes\wc-conditional-functions.php (ligne 525) github
Filter check for CSV file path.

Paramètres

Entrée :
true, $file
Sortie :
@param bool   $check_import_file_path If requires file path check. Defaults to true.
@param string $file                   Path of the file to be checked.

Utilisation

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

function ma_fonction_filtre(true) {
    // Modifier la valeur
    return true;
}

Actualités

Chargement des actualités...