Created
January 5, 2021 03:24
-
-
Save johnalarcon/6ecd770143220ebe0ea8717532e28809 to your computer and use it in GitHub Desktop.
Array of ClassicPress dashicons, sorted by type.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function get_dashicons() { | |
| $icons = [ | |
| 'admin' => [ | |
| 'menu', | |
| 'admin-site', | |
| 'dashboard', | |
| 'admin-post', | |
| 'admin-media', | |
| 'admin-links', | |
| 'admin-page', | |
| 'admin-comments', | |
| 'admin-appearance', | |
| 'admin-plugins', | |
| 'admin-users', | |
| 'admin-tools', | |
| 'admin-settings', | |
| 'admin-network', | |
| 'admin-home', | |
| 'admin-generic', | |
| 'admin-collapse', | |
| 'filter', | |
| 'admin-customizer', | |
| 'admin-multisite', | |
| ], | |
| 'welcome' => [ | |
| 'welcome-add-page', | |
| 'welcome-edit-page', | |
| 'welcome-view-site', | |
| 'welcome-widgets-menus', | |
| 'welcome-comments', | |
| 'welcome-learn-more', | |
| ], | |
| 'post-format' => [ | |
| 'format-standard', | |
| 'format-links', | |
| 'format-aside', | |
| 'format-image', | |
| 'format-gallery', | |
| 'format-video', | |
| 'format-status', | |
| 'format-quote', | |
| 'format-chat', | |
| 'format-audio', | |
| 'camera', | |
| 'images-alt', | |
| 'images-alt2', | |
| 'video-alt', | |
| 'video-alt2', | |
| 'video-alt3', | |
| ], | |
| 'media' => [ | |
| 'media-archive', | |
| 'media-audio', | |
| 'media-code', | |
| 'media-default', | |
| 'media-document', | |
| 'media-interactive', | |
| 'media-spreadsheet', | |
| 'media-text', | |
| 'media-video', | |
| 'playlist-audio', | |
| 'playlist-video', | |
| 'controls-play', | |
| 'controls-pause', | |
| 'controls-forward', | |
| 'controls-skipforward', | |
| 'controls-back', | |
| 'controls-skipback', | |
| 'controls-repeat', | |
| 'controls-volumeon', | |
| 'controls-volumeoff', | |
| ], | |
| 'image' => [ | |
| 'image-crop', | |
| 'image-rotate', | |
| 'image-rotate-left', | |
| 'image-rotate-right', | |
| 'image-flip-vertical', | |
| 'image-flip-horizontal', | |
| 'image-filter', | |
| 'undo', | |
| 'redo', | |
| ], | |
| 'editor' => [ | |
| 'editor-bold', | |
| 'editor-italic', | |
| 'editor-ul', | |
| 'editor-ol', | |
| 'editor-quote', | |
| 'editor-alignleft', | |
| 'editor-aligncenter', | |
| 'editor-alignright', | |
| 'editor-insertmore', | |
| 'editor-spellcheck', | |
| 'editor-expand', | |
| 'editor-contract', | |
| 'editor-kitchensink', | |
| 'editor-underline', | |
| 'editor-justify', | |
| 'editor-textcolor', | |
| 'editor-paste-word', | |
| 'editor-paste-text', | |
| 'editor-removeformatting', | |
| 'editor-video', | |
| 'editor-customchar', | |
| 'editor-outdent', | |
| 'editor-indent', | |
| 'editor-help', | |
| 'editor-strikethrough', | |
| 'editor-unlink', | |
| 'editor-rtl', | |
| 'editor-break', | |
| 'editor-code', | |
| 'editor-paragraph', | |
| 'editor-table', | |
| ], | |
| 'post' => [ | |
| 'align-left', | |
| 'align-right', | |
| 'align-center', | |
| 'align-none', | |
| 'lock', | |
| 'unlock', | |
| 'calendar', | |
| 'calendar-alt', | |
| 'visibility', | |
| 'hidden', | |
| 'post-status', | |
| 'edit', | |
| 'trash', | |
| 'sticky', | |
| ], | |
| 'sort' => [ | |
| 'external', | |
| 'arrow-up', | |
| 'arrow-down', | |
| 'arrow-right', | |
| 'arrow-left', | |
| 'arrow-up-alt', | |
| 'arrow-down-alt', | |
| 'arrow-right-alt', | |
| 'arrow-left-alt', | |
| 'arrow-up-alt2', | |
| 'arrow-down-alt2', | |
| 'arrow-right-alt2', | |
| 'arrow-left-alt2', | |
| 'sort', | |
| 'leftright', | |
| 'randomize', | |
| 'list-view', | |
| 'excerpt-view', | |
| 'grid-view', | |
| 'move', | |
| ], | |
| 'social' => [ | |
| 'share', | |
| 'share-alt', | |
| 'share-alt2', | |
| 'twitter', | |
| 'rss', | |
| 'email', | |
| 'email-alt', | |
| 'facebook', | |
| 'facebook-alt', | |
| 'googleplus', | |
| 'networking', | |
| ], | |
| 'wp' => [ | |
| 'hammer', | |
| 'art', | |
| 'migrate', | |
| 'performance', | |
| 'universal-access', | |
| 'universal-access-alt', | |
| 'tickets', | |
| 'nametag', | |
| 'clipboard', | |
| 'heart', | |
| 'megaphone', | |
| 'schedule', | |
| 'wordpress', | |
| 'wordpress-alt', | |
| 'pressthis', | |
| ], | |
| 'shopping' => [ | |
| 'update', | |
| 'screenoptions', | |
| 'info', | |
| 'cart', | |
| 'products', | |
| 'feedback', | |
| 'cloud', | |
| 'translation', | |
| ], | |
| 'taxonomy' => [ | |
| 'tag', | |
| 'category', | |
| ], | |
| 'widget' => [ | |
| 'archive', | |
| 'tagcloud', | |
| 'text', | |
| ], | |
| 'notification' => [ | |
| 'yes', | |
| 'no', | |
| 'no-alt', | |
| 'plus', | |
| 'plus-alt', | |
| 'plus-alt2', | |
| 'minus', | |
| 'dismiss', | |
| 'marker', | |
| 'star-filled', | |
| 'star-half', | |
| 'star-empty', | |
| 'flag', | |
| 'warning', | |
| ], | |
| 'miscellaneous' => [ | |
| 'location', | |
| 'location-alt', | |
| 'vault', | |
| 'shield', | |
| 'shield-alt', | |
| 'sos', | |
| 'search', | |
| 'slides', | |
| 'analytics', | |
| 'chart-pie', | |
| 'chart-bar', | |
| 'chart-line', | |
| 'chart-area', | |
| 'groups', | |
| 'businessman', | |
| 'id', | |
| 'id-alt', | |
| 'awards', | |
| 'forms', | |
| 'testimonial', | |
| 'portfolio', | |
| 'book', | |
| 'book-alt', | |
| 'download', | |
| 'upload', | |
| 'backup', | |
| 'clock', | |
| 'lightbulb', | |
| 'microphone', | |
| 'desktop', | |
| 'laptop', | |
| 'tablet', | |
| 'smartphone', | |
| 'phone', | |
| 'index-card', | |
| 'carrot', | |
| 'building', | |
| 'store', | |
| 'album', | |
| 'palmtree', | |
| 'tickets-alt', | |
| 'money', | |
| 'smiley', | |
| 'thumbs-up', | |
| 'thumbs-down', | |
| 'layout', | |
| 'paperclip' | |
| ] | |
| ]; | |
| return $icons; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment