Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
bernattorras committed Jun 5, 2024
1 parent 33e6bb9 commit 6e56310
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions themes/osi/template-parts/header-featured-image.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

if ( function_exists( 'Sugar_Calendar\AddOn\Ticketing\Settings\get_setting' ) ) {

$recepit_page_id = Sugar_Calendar\AddOn\Ticketing\Settings\get_setting( 'receipt_page' );
Expand All @@ -23,7 +22,7 @@
</div>
</div>
</header>
<?php } else if ( ! has_post_thumbnail() && ! in_array( get_post_type( $post ), array( 'post', 'event' ), true ) ) { ?>
<?php } elseif ( ! has_post_thumbnail() && ! in_array( get_post_type( $post ), array( 'post', 'event' ), true ) ) { ?>
<header class="entry-header cover--header no-thumbnail">
<div class="wp-block-cover alignfull">
<div class="wp-block-cover__inner-container">
Expand Down

0 comments on commit 6e56310

Please sign in to comment.