WP_Duotone::get_filter_id( string $slug ): 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 ID of the duotone filter.

Description

Example output: wp-duotone-blue-orange

Parameters

$slugstringrequired
The slug of the duotone preset.

Return

string The ID of the duotone filter.

Source

private static function get_filter_id( $slug ) {
	return "wp-duotone-$slug";
}

Changelog

VersionDescription
6.3.0Introduced.

User Contributed Notes

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