This commit is contained in:
2023-12-30 14:34:31 +01:00
parent b5112ab12e
commit ba736ef661
63 changed files with 65 additions and 59 deletions

View File

@ -0,0 +1,32 @@
<?php
namespace plugins\buena\src\Pfadfinden\WordPress;
use Shy\WordPress\Administration\SettingsPage;
use Shy\WordPress\Administration\CheckboxField;
class BuenaSettingsPage extends SettingsPage
{
public function getFields()
{
$this->addSection( '', 'buena' );
return array(
'use_cdn' => new CheckboxField(),
'always_show_poster' => new CheckboxField(),
);
}
public function getParentSlug()
{
return 'themes.php';
}
public function getTitle()
{
return __( 'Buena-Einstellungen', 'buena-theme' );
}
}