@@ -234,6 +234,9 @@ discard block |
||
| 234 | 234 | $this->delete_cache(); |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | + /** |
|
| 238 | + * @param string|false $is_active |
|
| 239 | + */ |
|
| 237 | 240 | public function set_active( $is_active ) { |
| 238 | 241 | update_option( $this->option_name . 'active', $is_active ); |
| 239 | 242 | $this->delete_cache(); |
@@ -352,6 +355,7 @@ discard block |
||
| 352 | 355 | * Get the API info for this plugin |
| 353 | 356 | * |
| 354 | 357 | * @since 3.04.03 |
| 358 | + * @param string $license |
|
| 355 | 359 | */ |
| 356 | 360 | protected function get_api_info( $license ) { |
| 357 | 361 | $api = new FrmFormApi( $license ); |
@@ -612,6 +616,9 @@ discard block |
||
| 612 | 616 | return $this_plugin; |
| 613 | 617 | } |
| 614 | 618 | |
| 619 | + /** |
|
| 620 | + * @param string $action |
|
| 621 | + */ |
|
| 615 | 622 | public function send_mothership_request( $action ) { |
| 616 | 623 | $api_params = array( |
| 617 | 624 | 'edd_action' => $action, |