woocommerce_download_parse_remote_file_path

FILTER woocommerce\includes\class-wc-download-handler.php (ligne 309) github
Filter the remote filepath for download.

Paramètres

Entrée :
$file_path
Sortie :
@param string $file_path File path.

Utilisation

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

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

Actualités

Chargement des actualités...