Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Plugin API/Action Reference/ admin menu

This action is used internally to append the Widgets menu to the theme's main menu in the admin panel. It runs before the basic admin panel menu structure is complete.


<?php add_action('_admin_menu', 'function_name'); ?>

where "function_name" is the name of the function to be called.

Return to Plugin API/Action Reference