Skip to content

Commit

Permalink
Remove the always displayh
Browse files Browse the repository at this point in the history
  • Loading branch information
bordoni committed Oct 15, 2024
1 parent 95d8f9a commit 65c5f20
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Common/Admin/Conditional_Content/Black_Friday.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ protected function get_end_time(): ?Date_I18n {
* @inheritdoc
*/
protected function should_display(): bool {
return true;

if ( $this->has_user_dismissed() ) {
return false;
}
Expand Down

0 comments on commit 65c5f20

Please sign in to comment.