Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
pkevan committed Dec 18, 2024
1 parent 807733d commit 1724ff7
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,19 @@ public function menu_tools() {
<h3 class="nav-tab-wrapper"><?php $this->menu_tools_tabs(); ?></h3>
<?php
$section = $this->get_tools_section();
if ( $section == 'summarize' )
if ( 'summarize' == $section ) {
$this->menu_tools_summarize();
elseif ( $section == 'revenue' )
} elseif ( 'revenue' == $section ) {
$this->menu_tools_revenue();
elseif ( $section == 'export' )
} elseif ( 'export' == $section ) {
$this->menu_tools_export();
elseif ( $section == 'notify' )
} elseif ( 'notify' == $section ) {
$this->menu_tools_notify();
elseif ( $section == 'refund' && ! $this->options['archived'] )
} elseif ( 'refund' == $section && ! $this->options['archived'] ) {
$this->menu_tools_refund();
else
} else {
do_action( 'camptix_menu_tools_' . $section );
}
?>
</div>
<?php
Expand Down Expand Up @@ -440,7 +441,7 @@ public function menu_setup_controls() {
if ( ! $this->beta_features_enabled ) {
break;
}

add_settings_section( 'general', __( 'Beta Features', 'wordcamporg' ), array( $this, 'menu_setup_section_beta' ), 'camptix_options' );

$this->add_settings_field_helper( 'reservations_enabled', __( 'Enable Reservations', 'wordcamporg' ), 'field_yesno', false,
Expand Down

0 comments on commit 1724ff7

Please sign in to comment.