wphooks.info - admin_bar_init

admin_bar_init

The hook occurs in the following file:

wp-includes/class-wp-admin-bar.php:
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
		add_action('wp_head', $header_callback);

		wp_enqueue_script( 'admin-bar' );
		wp_enqueue_style( 'admin-bar' );

		/**
		 * Fires after WP_Admin_Bar is initialized.
		 *
		 * @since 3.1.0
		 */
		do_action( 'admin_bar_init' );
	}

	/**
	 * @param array $node
	 */
	public function add_menu( $node ) {
		$this->add_node( $node );
	}