Skip to main content

Filter: gk/gravityview/dashboard-views/admin-menu/icon-url

Controls the icon URL of the top-level Dashboard Views menu.

Parameters

NameTypeDescription
$icon_urlstring

The URL to the icon to be used for this menu.

  • Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme. This should begin with 'data:image/svg+xml;base64,'.
  • Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-chart-pie'.
  • Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS.

Since

  • 2.0.0

Source

Defined in src/AdminMenu.php at line 145