Plugin Directory

Changeset 3325623


Ignore:
Timestamp:
07/10/2025 12:29:34 PM (9 months ago)
Author:
mohsinwebs
Message:

update

Location:
speedox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • speedox/tags/1.1.1/speedox.php

    r3325618 r3325623  
    218218    return $tag;
    219219}
     220
     221// ✅ Add custom emoji icon (⚡) to admin menu
     222add_action('admin_head', 'speedox_custom_menu_icon_inline_css');
     223function speedox_custom_menu_icon_inline_css() {
     224    echo '<style>
     225    #adminmenu .toplevel_page_speedox-dashboard .wp-menu-image::before {
     226        content: "\26A1"; /* ⚡ lightning bolt */
     227        font-size: 18px;
     228        line-height: 1;
     229    }
     230    </style>';
     231}
  • speedox/trunk/speedox.php

    r3325618 r3325623  
    218218    return $tag;
    219219}
     220
     221// ✅ Add custom emoji icon (⚡) to admin menu
     222add_action('admin_head', 'speedox_custom_menu_icon_inline_css');
     223function speedox_custom_menu_icon_inline_css() {
     224    echo '<style>
     225    #adminmenu .toplevel_page_speedox-dashboard .wp-menu-image::before {
     226        content: "\26A1"; /* ⚡ lightning bolt */
     227        font-size: 18px;
     228        line-height: 1;
     229    }
     230    </style>';
     231}
Note: See TracChangeset for help on using the changeset viewer.