WP_Duotone::get_filter_url( string $filter_id ): string

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Get the URL for a duotone filter.

Description

Example output: url(#wp-duotone-blue-orange)

Parameters

$filter_idstringrequired
The ID of the filter.

Return

string The URL for the duotone filter.

Source

private static function get_filter_url( $filter_id ) {
	return "url(#$filter_id)";
}

Changelog

VersionDescription
6.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.