| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class DeleteUsersInMultisitePage extends DeleteUsersPage { |
||
| 15 | // phpcs:ignore Squiz.Commenting.FunctionComment.Missing |
||
| 16 | protected function initialize() { |
||
| 17 | parent::initialize(); |
||
| 18 | |||
| 19 | $this->page_slug = 'bulk-delete-users-in-multisite'; |
||
| 20 | |||
| 21 | $this->show_link_in_plugin_list = false; |
||
| 22 | } |
||
| 23 | |||
| 24 | // phpcs:ignore Squiz.Commenting.FunctionComment.Missing |
||
| 25 | public function register() { |
||
| 26 | add_menu_page( |
||
| 27 | __( 'Bulk WP', 'bulk-delete' ), |
||
| 28 | __( 'Bulk WP', 'bulk-delete' ), |
||
| 29 | $this->capability, |
||
| 30 | $this->page_slug, |
||
| 31 | array( $this, 'render_page' ), |
||
| 32 | 'dashicons-trash', |
||
| 33 | $this->get_bulkwp_menu_position() |
||
| 34 | ); |
||
| 35 | |||
| 36 | parent::register(); |
||
| 37 | } |
||
| 38 | |||
| 39 | protected function get_top_level_menu_slug() { |
||
| 41 | } |
||
| 42 | } |
||
| 43 |