woocommerce_csv_importer_check_import_file_path

woocommerce_csv_importer_check_import_file_path

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_csv_importer_check_import_file_path') is found 1 times:

  • /includes/wc-conditional-functions.php line 471
    	 * @since 3.6.4
    	 * @param bool   $check_import_file_path If requires file path check. Defaults to true.
    	 * @param string $file                   Path of the file to be checked.
    	 */
    	$check_import_file_path = apply_filters( 'woocommerce_csv_importer_check_import_file_path', true, $file );
    
    	if ( $check_path && $check_import_file_path && false !== stripos( $file, '://' ) ) {
    		return false;
    	}
    
    	/**