woocommerce_download_parse_remote_file_path

woocommerce_download_parse_remote_file_path

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_download_parse_remote_file_path') is found 1 times:

  • /includes/class-wc-download-handler.php line 312
    			 * @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;