';
}
return sprintf(
'',
$size,
$paths
);
}
/**
* The mark for the admin menu: a data URI, which WordPress recolours to match the admin
* colour scheme.
*/
public static function menuIcon(): string
{
$paths = '';
foreach (self::PATHS as $d) {
$paths .= '';
}
// phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode -- the admin menu takes an SVG data URI
return 'data:image/svg+xml;base64,' . base64_encode('');
}
}