wp_admin_bar_class

wp_admin_bar_class

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.3

apply_filters('wp_admin_bar_class') is found 1 times:

  • /wp-includes/admin-bar.php line 42
    	 * @since 3.1.0
    	 *
    	 * @param string $wp_admin_bar_class Admin bar class to use. Default 'WP_Admin_Bar'.
    	 */
    	$admin_bar_class = apply_filters( 'wp_admin_bar_class', 'WP_Admin_Bar' );
    	if ( class_exists( $admin_bar_class ) ) {
    		$wp_admin_bar = new $admin_bar_class();
    	} else {
    		return false;
    	}
    
    

See this hook used in plugins: