Plugin Directory

Changeset 2881846


Ignore:
Timestamp:
03/17/2023 10:46:52 AM (3 years ago)
Author:
functionsfile
Message:

Run the sorting function later to fix some menu items not being sorted alphabetically

Location:
sort-settings-menu
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sort-settings-menu/tags/1.0.1/admin.php

    r2881841 r2881846  
    99
    1010// Arrange the items in the "Settings" menu of the WordPress admin in alphabetical order.
    11 add_action( 'admin_menu', __NAMESPACE__ . '\sort_admin_submenu_items' );
     11add_action( 'admin_menu', __NAMESPACE__ . '\sort_admin_submenu_items', 999 );
    1212
    1313/**
  • sort-settings-menu/trunk/admin.php

    r2866037 r2881846  
    99
    1010// Arrange the items in the "Settings" menu of the WordPress admin in alphabetical order.
    11 add_action( 'admin_menu', __NAMESPACE__ . '\sort_admin_submenu_items' );
     11add_action( 'admin_menu', __NAMESPACE__ . '\sort_admin_submenu_items', 999 );
    1212
    1313/**
Note: See TracChangeset for help on using the changeset viewer.