wpcrm_system_menu_icon

The wpcrm_system_menu_icon filter controls the icon that is shown in the left side menu in your WordPress admin dashboard area.

By default, this filter returns the Dashicons helper class ‘dashicons-id’.>

You can modify the output with one of the following:

  • 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.