Snippets: Move Topbar Inside Header Wrapper (useful to add it inside the header Overlay)

function myprefix_move_topbar_to_header() {
    remove_action( 'wpex_hook_wrap_top', 'wpex_top_bar', 5 );
    add_action( 'wpex_hook_header_top', 'wpex_top_bar', 1 );
}
add_action( 'init', 'myprefix_move_topbar_to_header' );

Snippet Type: PHP

Posted Under: Top Bar

All PHP snippets should be added via a child theme's functions.php file.