Get the ID of the duotone filter.
Example output: wp-duotone-blue-orange
$slugstringrequired
private static function get_filter_id( $slug ) {
return "wp-duotone-$slug";
}
| Version | Description |
|---|---|
| 6.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_duotone/get_filter_id