1 | <?php |
||
23 | class Give_Settings_License extends Give_Settings_Page { |
||
24 | |||
25 | /** |
||
26 | * Constructor. |
||
27 | */ |
||
28 | public function __construct() { |
||
38 | |||
39 | /** |
||
40 | * Get settings array. |
||
41 | * |
||
42 | * @since 1.8 |
||
43 | * @return array |
||
44 | */ |
||
45 | public function get_settings() { |
||
66 | |||
67 | /** |
||
68 | * Remove the license tab if no Give addon |
||
69 | * is activated. |
||
70 | * |
||
71 | * @param array $tabs Give Settings Tabs. |
||
72 | * |
||
73 | * @since 2.1.4 |
||
74 | * |
||
75 | * @return array |
||
76 | */ |
||
77 | public function remove_license_tab( $tabs ) { |
||
88 | |||
89 | /** |
||
90 | * Returns if at least one Give addon is activated. |
||
91 | * Note: note only for internal logic |
||
92 | * |
||
93 | * @since 2.1.4 |
||
94 | * @access private |
||
95 | * |
||
96 | * @return bool |
||
97 | */ |
||
98 | private function is_show_setting_page() { |
||
104 | } |
||
105 | |||
109 |