apply_filters( ‘wp_admin_bar_class’, string $wp_admin_bar_class )

In this article

Filters the admin bar class to instantiate.

Parameters

$wp_admin_bar_classstring
Admin bar class to use. Default ‘WP_Admin_Bar‘.

Source

$admin_bar_class = apply_filters( 'wp_admin_bar_class', 'WP_Admin_Bar' );

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.