WordPress action hook · part of WordPress core
admin_menu
A WordPress core action that 10 plugins also fire themselves, running on 170+ sites between them.
How to use admin_menu
It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'admin_menu', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );Argument names come from AcrossAI Abilities Manager's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
This hook is fired by WordPress core too. Official reference on developer.wordpress.org →
10 plugins that fire admin_menu
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
AcrossAI Abilities Manager100+ installs
do_action( 'admin_menu', '' )includes/Abilities/AdminMenu/List_Admin_Menu_Pages.php:242 -
Uplink Unified Ops Center60+ installs
do_action( 'admin_menu' )includes/class-admin-bar.php:2896 -
Spotlight Search10+ installs
do_action( 'admin_menu' )Inc/Classes/Api/AdminMenu.php:205 -
Loyalty Points, Rewards and Cashback for WooCommerceFewer than 10 installs
do_action( 'admin_menu', '' )scripts/test-connect.php:209 -
MammothWP Acceptance LogsFewer than 10 installs
do_action( 'admin_menu' )src/Admin/ScreenProbe.php:131 -
EdminboostFewer than 10 installs
do_action( 'admin_menu' )includes/class-edminboost-command-center.php:2110 -
Yatoon Salon Booking & AppointmentsFewer than 10 installs
do_action( 'admin_menu' )includes/class-yatoon-admin-search.php:91 -
Nativus DashboardFewer than 10 installs
do_action( 'admin_menu', '' )includes/Plugin.php:4300 -
PufferDeskFewer than 10 installs
do_action( 'admin_menu', '' )includes/class-pufferdesk-admin-menu-app-provider.php:300 -
AIZ Labs Chat AgentFewer than 10 installs
do_action( 'admin_menu' )pages/publish.php:36
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.