woocommerce_download_file_

woocommerce_download_file_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_download_file_') is found 1 times:

  • /includes/class-wc-download-handler.php line 254
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
        // Add action to prevent issues in IE.
        add_action( 'nocache_headers', array( __CLASS__, 'ie_nocache_headers_fix' ) );
     
        // Trigger download via one of the methods.
        do_action( 'woocommerce_download_file_' . $file_download_method, $file_path, $filename );
    }
     
    /**
     * Redirect to a file to start the download.
     *
     * @param string $file_path File path.