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