Skip to content

Commit 0f09fc9

Browse files
authored
Add function to admin_bar_init action
1 parent 5389ebd commit 0f09fc9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wp-includes/default-filters.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,7 @@
705705
add_action( 'wp_body_open', 'wp_admin_bar_render', 0 );
706706
add_action( 'wp_footer', 'wp_admin_bar_render', 1000 ); // Back-compat for themes not using `wp_body_open`.
707707
add_action( 'in_admin_header', 'wp_admin_bar_render', 0 );
708+
add_action( 'admin_bar_init', 'wp_admin_bar_add_color_scheme_to_front_end', 0 );
708709

709710
// Former admin filters that can also be hooked on the front end.
710711
add_action( 'media_buttons', 'media_buttons' );

0 commit comments

Comments
 (0)