Skip to content

Commit

Permalink
clean up filter to its own line
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed May 31, 2024
1 parent bdb7156 commit ce61e3d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions upgrades/1.1.18.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@

add_action( 'newfold_container_set', function ( Container $container ) {
$isFreshInstall = $container->has( 'isFreshInstallation' ) ? $container->get( 'isFreshInstallation' ) : false;
if ( apply_filters(
'newfold/coming-soon/filter/default/fresh',
$isFreshInstall
) ) {
$isFreshInstall = apply_filters( 'newfold/coming-soon/filter/default/fresh', $isFreshInstall );
if ( $isFreshInstall ) {
$comingSoonService = new Service();
$comingSoonService->enable( false );

Expand Down

0 comments on commit ce61e3d

Please sign in to comment.