add_action( 'wpex_is_top_bar_enabled', function( $bool ) {
// Disable on checkout
if ( function_exists( 'is_checkout' ) && is_checkout() ) {
$bool = false;
}
// Return display
return $bool;
} );
add_action( 'wpex_is_top_bar_enabled', function( $bool ) {
// Disable on checkout
if ( function_exists( 'is_checkout' ) && is_checkout() ) {
$bool = false;
}
// Return display
return $bool;
} );