WordPress开发者和主题制作者的搜索引擎



admin_bar_menu ›

Since3.1.0
已弃用n/a
do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar )
参数:
  • (WP_Admin_Bar) $wp_admin_bar WP_Admin_Bar instance, passed by reference
    Required: Yes
定义在:
文档:

Load all necessary admin bar items.

This is the hook used to add, remove, or manipulate admin bar items.





源码

do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) );