From c26ac6874d6e30b69c4162dc05877ae70e4c9d77 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Sat, 22 Jan 2022 23:09:18 -0500 Subject: [PATCH] Update sidebar icon --- cogicon.svg | 14 +------------- plugin.php | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/cogicon.svg b/cogicon.svg index b0b0a58..cec5304 100644 --- a/cogicon.svg +++ b/cogicon.svg @@ -1,13 +1 @@ - - - - - + diff --git a/plugin.php b/plugin.php index 84e7e15..1ba38ba 100644 --- a/plugin.php +++ b/plugin.php @@ -151,7 +151,7 @@ if ( !class_exists('CognitoFormsPlugin') ) { // Initialize administration menu (left-bar) public function admin_menu() { - add_menu_page('Cognito Forms', 'Cognito Forms', 'manage_options', 'Cognito', array($this, 'main_page'), plugin_dir_url( __FILE__ ).'cogicon.ico'); + add_menu_page('Cognito Forms', 'Cognito Forms', 'manage_options', 'Cognito', array($this, 'main_page'), "data:image/svg+xml;base64," . base64_encode( '' ) ); add_submenu_page('Cognito', 'Cognito Forms', 'View Forms', 'manage_options', 'Cognito', array($this, 'main_page')); add_submenu_page('Cognito', 'Create Form', 'New Form', 'manage_options', 'CognitoCreateForm', array($this, 'main_page')); add_submenu_page('Cognito', 'Templates', 'Templates', 'manage_options', 'CognitoTemplates', array($this, 'main_page'));