W3cubDocs

/WordPress

apply_filters( 'wp_admin_bar_class', string $wp_admin_bar_class )

Filters the admin bar class to instantiate.

Parameters

$wp_admin_bar_class

(string) Admin bar class to use. Default 'WP_Admin_Bar'.

Source

File: wp-includes/admin-bar.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_admin_bar_class