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