protected function themeOptionsOverrides()
{
// --------------------------------------------------------------------
// CSS
$scss = '';
$scss = apply_filters('pb_pdf_css_override', $scss) . "\n";
// Copyright
// Please be kind, help Pressbooks grow by leaving this on!
if (empty($GLOBALS['PB_SECRET_SAUCE']['TURN_OFF_FREEBIE_NOTICES_PDF'])) {
$freebie_notice = __('This book was produced using Pressbooks.com, and PDF rendering was done by PrinceXML.', 'pressbooks');
$scss .= '#copyright-page .ugc > p:last-of-type::after { display:block; margin-top: 1em; content: "' . $freebie_notice . '" }' . "\n";
}
$this->cssOverrides = $scss;
// --------------------------------------------------------------------
// Hacks
$hacks = array();
$hacks = apply_filters('pb_pdf_hacks', $hacks);
// Append endnotes to URL?
if ('endnotes' == $hacks['pdf_footnotes_style']) {
$this->url .= '&endnotes=true';
}
}