cptui_menu_icon

Returns SVG icon for custom menu icon.

Description

(string) cptui_menu_icon(); 

Returns (string)


Usage

  1. if ( !function_exists( 'cptui_menu_icon' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'custom-post-type-ui/inc/utility.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = cptui_menu_icon(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/utility.php  
  1. function cptui_menu_icon() { 
  2. return 'dashicons-forms';