function renderTOCField($args) { $this->renderCheckbox('mpdf_include_toc', 'pressbooks_theme_options_' . $this->getSlug(), 'mpdf_include_toc', $this->options['mpdf_include_toc'], $args[0]); }