From d28b9167321079b8a6f8f4c32def2b654039c77a Mon Sep 17 00:00:00 2001 From: Simon Gomes Date: Fri, 23 Apr 2021 17:51:33 +0600 Subject: [PATCH] Custom menu icon added --- assets/images/menu_icon.png | Bin 0 -> 2182 bytes includes/Admin/Menu.php | 2 +- parcel-tracker-ecourier.php | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 assets/images/menu_icon.png diff --git a/assets/images/menu_icon.png b/assets/images/menu_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..a1b227b51bfd6aeeb2dbb75c2ff8fef53d91a60d GIT binary patch literal 2182 zcmaJ@c~}!?8jphLqAY8L3ISvo1VtftAPEKt2}i&natH+#bBqv4GBFt>&{D!_DMvgg zhae(Sw7@EdmP5q@6cxo|Q4m-QB8rH>DixJVcVfZrA8zM)X1?!xpWp9&fA8@<&t&-f zc^T+q^)VQX0oR)ofUZW`cZnYQ&CakeKo?WQBNPdQcOtQT1%zRVU;zYhrTj=J0OE_{ zc3+1!U@$ti;-F9@l(&%~grzvX7K2ks@^M%n60tlc;v5W~$oV@@7Vi6Mz zq4EekIU9-+d&euFz<9qPVSKcZE&^R$fDI}J>Ocx1d_X0Y$dn8f6a46xf$p_tJP3S* zAkj?l4^g2!e}D}uAb^T0v%7JI1q>o0-Zr10&@?D zMpKA(G6FcBbFt796O2L-IRlT6jg7^{l5wyi5>KSl>39MOPa-*>2nS`H4B@LBWJ>FK z4;)A-REXt>7?uHAk9+|fgD^o<=^rUb$yq0o}yReU*~h$G;oQf*!z(Mlu$ z`cuYd(aNAWIfM^@lyHnfi1uTr^*kA^-CqaN0#P*#4lIn3LNbKQVS=ayClZSoY$qC> zMxn7;6cUX{^l+zSvxT&TXgVBA%<*wwUp|lZFwhtqJvEV z^)1U5ZXu*yG+bf=U{`N;;TYWI>`H#+oq0xJ>^r2xa$|7->^e%Wd%L5b*!ghh*A-;t zFC}?xx)++9oTrDLoUHE*i=JQ?R%GmbS97V#tMs_A^ly{i6m|dQc$%+Ssom~6N%FK2 zh`gMxyk^F8&CN5)AG&_uteDr=m#r$WFDi}t(r2B1kF=(F>kiA*mHeHyrSHD+H#VgR zffat%zs-&d7j5C^1yBv2o>3l2JGWF8*t96|(8H;zibK0Dj?0rPPApzv_kGIIE2X;{ zxId_gcA~wrNu1i@72%KcS{3Rtpj&V^Zu4s0sN_iX(a^~9*n;^>W%&dM%_+iw3MH^$bz?9Gadh!9LqUtTqu7CLQ|wGhnCvsvRb z-nTC+XTrkLqHjdrYsGaWEHl8hFL3DD>+*X@?EBM&C9y-6mwu1Z0SB**#aC%MxAsKd zX|fqmbSHh8F>Y%5J~!+MLTP_3e-<|YU`?Be2G{DAjaBFH?=xnYd(O@@2c_RjN*K6z zzO!o>KIM(;^YK7r54`lEW7294l1s1WgC0xU9AaA*C$Dz@*J-f+?k?!w!=*ksN$ds|@E^e~m9?@7^fIH1PnBvUDi(izZsuFqalAqOx` z0~>3pEoSh)N7J@6Ejgq#HqUSqrWINC2c3`K*7hiI%x0oE)3z17`E>tP@1!9Uf&QB8 z18tER%R!qv12&IxbxUr9l~1+Ny)Nw0(+uA{_kFod_eh88WTZEC*#x%No zp&?y0snkzi8{_5ny6wYv6ZX4oi&AB79!NYF%o)~m~ppPQr_8$+{~dLB40KYlg$N69hk@zL%#;}PT8 zxNx(|hbf!m8u-qe>XlAY?1*zY2DEj=&a+4B93R(h?B!;M_RIP+Q?IH0t#WgZx|fXQ zI0#;}XwHh_7LZ)q+a3qA!w<=(CJEb%7 literal 0 HcmV?d00001 diff --git a/includes/Admin/Menu.php b/includes/Admin/Menu.php index 4cb1bfb..20b132b 100644 --- a/includes/Admin/Menu.php +++ b/includes/Admin/Menu.php @@ -42,7 +42,7 @@ public function __construct( Settings $settings ) { public function admin_menu() { $parant_slug = 'ecourier-parcel-tracker'; $capability = 'manage_options'; - add_menu_page( __( 'eCourier Tracker', 'ecourier-parcel-tracker' ), __( 'eCourier Tracker', 'ecourier-parcel-tracker' ), $capability, $parant_slug, null, 'dashicons-cart' ); + add_menu_page( __( 'eCourier Tracker', 'ecourier-parcel-tracker' ), __( 'eCourier Tracker', 'ecourier-parcel-tracker' ), $capability, $parant_slug, null, EPT_ASSETS . '/images/menu_icon.png' ); add_submenu_page( $parant_slug, __( 'eCourier Tracker', 'ecourier-parcel-tracker' ), __( 'eCourier Tracker', 'ecourier-parcel-tracker' ), $capability, $parant_slug, array( $this->settings, 'load_settings_page' ) ); } diff --git a/parcel-tracker-ecourier.php b/parcel-tracker-ecourier.php index e6995b7..066dcec 100644 --- a/parcel-tracker-ecourier.php +++ b/parcel-tracker-ecourier.php @@ -119,7 +119,7 @@ public function define_constants() { } /** - * Initialize plugin assets + * Initialize plugin assets. * * @return void */