woocommerce_download_parse_remote_file_path

woocommerce_download_parse_remote_file_path

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.6.9.4

apply_filters('woocommerce_download_parse_remote_file_path') is found 1 times:

  • /includes/class-wc-download-handler.php line 300
    			 * @param string $file_path File path.
    			 */
    			return array(
    				'remote_file' => true,
    				'file_path'   => apply_filters( 'woocommerce_download_parse_remote_file_path', $file_path ),
    			);
    		}
    
    		// See if path needs an abspath prepended to work.
    		if ( file_exists( ABSPATH . $file_path ) ) {
    			$remote_file = false;