Automattic\WooCommerce\Internal\ProductFeed\Storage

JsonFileFeed::build_file_url │ private static │ WC 1.0

Appends a feed identifier to its directory URL.

Method of the class: JsonFileFeed{}

No Hooks.

Returns

string. The feed file URL.

Usage

$result = JsonFileFeed::build_file_url( $directory_url, $identifier ): string;
$directory_url(string) (required)
The feed directory URL with a trailing slash.
$identifier(string) (required)
The feed file identifier.

JsonFileFeed::build_file_url() code WC 11.3.0

private static function build_file_url( string $directory_url, string $identifier ): string {
	return $directory_url . $identifier;
}