/** * Add meta boxes to primary options pages * * Adds the module's meta settings box to the settings page and * registers the added box in the page's table of contents. * * @since 1.2.0 * * @return void */ public function itsec_add_admin_meta_boxes() { $id = 'two_factor_options'; $title = __('Two Factor', 'it-l10n-ithemes-security-pro'); add_meta_box($id, $title, array($this, 'metabox_two_factor_settings'), 'security_page_toplevel_page_itsec_pro', 'advanced', 'core'); $this->core->add_pro_toc_item(array('id' => $id, 'title' => $title)); }