Total Complexity | 7 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class UpsellModule extends BaseModule { |
||
20 | /** |
||
21 | * Details about the add-on. |
||
22 | * |
||
23 | * @var \BulkWP\BulkDelete\Core\Addon\AddonInfo |
||
24 | */ |
||
25 | protected $addon_info; |
||
26 | |||
27 | /** |
||
28 | * Create the UpsellModule using add-on info. |
||
29 | * |
||
30 | * @param \BulkWP\BulkDelete\Core\Addon\AddonInfo $addon_info Addon Info. |
||
31 | */ |
||
32 | public function __construct( $addon_info ) { |
||
33 | $this->addon_info = $addon_info; |
||
34 | |||
35 | $this->meta_box_slug = $this->addon_info->get_slug(); |
||
36 | $this->messages = array( |
||
37 | 'box_label' => $addon_info->get_upsell_title(), |
||
38 | ); |
||
39 | } |
||
40 | |||
41 | public function render() { |
||
47 | </p> |
||
48 | |||
49 | <?php |
||
50 | } |
||
51 | |||
52 | protected function initialize() { |
||
53 | // Empty by design. |
||
54 | } |
||
55 | |||
56 | protected function parse_common_filters( $request ) { |
||
57 | // Empty by design. |
||
58 | } |
||
59 | |||
60 | protected function convert_user_input_to_options( $request, $options ) { |
||
61 | // Empty by design. |
||
62 | } |
||
63 | |||
64 | protected function get_success_message( $items_deleted ) { |
||
65 | // Empty by design. |
||
66 | } |
||
67 | |||
68 | protected function do_delete( $options ) { |
||
69 | // Empty by design. |
||
70 | } |
||
71 | } |
||
72 |