__( 'Jorvy', 'jorvy' ), * 'icon' => 'dashicons-star-filled', * 'window' => 'jorvy', * 'position' => 10, * ) ); * ``` * * @since 0.11.0 * * @param string $id Icon id. Must be a kebab-case-ish slug. * @param array $args { * Icon registration options. * * @type string $title Display label shown under the icon. Required. * @type string $icon Dashicons class (`dashicons-*`), http(s) * URL to an image, or `data:image/svg+xml` * URI (`;base64,` or URL-encoded). Runs * through the same sanitizer as dock icons * — `javascript:` and other `data:` schemes * are rejected. Required unless `icon_svg` * is provided. * @type string $icon_svg Raw SVG markup (e.g. `''`). * Convenience shorthand: the framework * base64-encodes it into a `data:image/svg+xml;base64,…` * URI and routes the result through the * same sanitizer as `icon`. Wins over * `icon` when both are supplied. Markup * containing a `