public static function add_template() { global $pagenow; if ('options-media.php' !== $pagenow) { return false; } if (is_file(SIS_DIR . '/templates/admin-js.html')) { include SIS_DIR . '/templates/admin-js.html'; } return true; }