WordPress at a glance
function is not described

wc_get_filename_from_url() WC 1.0

Gets the filename part of a download URL.

No Hooks.

Return

String. Nothing.

Usage

wc_get_filename_from_url( $file_url );
$file_url(string) (required)
File URL.

Code of wc_get_filename_from_url() WC 5.2.2

<?php
function wc_get_filename_from_url( $file_url ) {
	$parts = wp_parse_url( $file_url );
	if ( isset( $parts['path'] ) ) {
		return basename( $parts['path'] );
	}
}