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 3c757df commit b63e933
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,12 @@ public function menu_setup_controls() {
add_settings_field(
'payment_method_' . $key . '_enabled',
__( 'Enabled', 'wordcamporg' ),
array( $payment_method_obj,
'_camptix_settings_enabled_callback' ),
'camptix_options', 'payment_' . $key,
array(
$payment_method_obj,
'_camptix_settings_enabled_callback',
),
'camptix_options',
'payment_' . $key,
array(
'name' => "camptix_options[payment_methods][{$key}]",
'value' => isset( $this->options['payment_methods'][ $key ] ) ? (bool) $this->options['payment_methods'][ $key ] : false,
Expand Down

0 comments on commit b63e933

Please sign in to comment.