wp_admin_bar_class WordPress Filter Hook
The wp_admin_bar_class is a WordPress hook that allows you to add a custom class to the WordPress admin bar. This can be useful if you want to style the admin bar differently than the default WordPress styling.
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
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |