1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) exit;
4
5 6 7 8 9 10 11 12 13 14 15 16
17 abstract class WC_Integration extends WC_Settings_API {
18
19 20 21 22 23 24 25 26 27
28 public function admin_options() { ?>
29
30 <h3><?php echo isset( $this->method_title ) ? $this->method_title : __( 'Settings', 'woocommerce' ) ; ?></h3>
31
32 <?php echo isset( $this->method_description ) ? wpautop( $this->method_description ) : ''; ?>
33
34 <table class="form-table">
35 <?php $this->generate_settings_html(); ?>
36 </table>
37
38 <!-- Section -->
39 <div><input type="hidden" name="section" value="<?php echo $this->id; ?>" /></div>
40
41 <?php
42 }
43 }