includes/admin/emails/class-new-offline-donation-email.php 1 location
|
@@ 303-314 (lines=12) @@
|
| 300 |
|
* |
| 301 |
|
* @return array |
| 302 |
|
*/ |
| 303 |
|
public function add_metabox_setting_field( $settings, $form_id ) { |
| 304 |
|
|
| 305 |
|
if ( in_array( 'offline', array_keys( give_get_enabled_payment_gateways($form_id) ) ) ) { |
| 306 |
|
$settings[] = array( |
| 307 |
|
'id' => $this->config['id'], |
| 308 |
|
'title' => $this->config['label'], |
| 309 |
|
'fields' => $this->get_setting_fields( $form_id ), |
| 310 |
|
); |
| 311 |
|
} |
| 312 |
|
|
| 313 |
|
return $settings; |
| 314 |
|
} |
| 315 |
|
} |
| 316 |
|
|
| 317 |
|
endif; // End class_exists check |
includes/admin/emails/class-offline-donation-instruction-email.php 1 location
|
@@ 272-282 (lines=11) @@
|
| 269 |
|
* |
| 270 |
|
* @return array |
| 271 |
|
*/ |
| 272 |
|
public function add_metabox_setting_field( $settings, $form_id ) { |
| 273 |
|
if ( in_array( 'offline', array_keys( give_get_enabled_payment_gateways($form_id) ) ) ) { |
| 274 |
|
$settings[] = array( |
| 275 |
|
'id' => $this->config['id'], |
| 276 |
|
'title' => $this->config['label'], |
| 277 |
|
'fields' => $this->get_setting_fields( $form_id ), |
| 278 |
|
); |
| 279 |
|
} |
| 280 |
|
|
| 281 |
|
return $settings; |
| 282 |
|
} |
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
endif; // End class_exists check |