Skip to content

Commit

Permalink
Hide login banner for agency managed sites (#38021)
Browse files Browse the repository at this point in the history
  • Loading branch information
candy02058912 authored Jun 25, 2024
1 parent d533d3d commit c5b595d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Hide login banner for agency-managed sites.
5 changes: 5 additions & 0 deletions projects/plugins/wpcomsh/private-site/logged-in-banner.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ function show_logged_in_banner() {
return;
}

// Hide banner for agency-managed sites.
if ( ! empty( get_option( 'is_fully_managed_agency_site' ) ) ) {
return;
}

/**
* Filter to make it possible for the launch banner to be hidden.
*
Expand Down

0 comments on commit c5b595d

Please sign in to comment.