2026-03-27 11:54:51 +00:00

67 lines
1.0 KiB
PHP

<?php
/**
* Simply Schedule Appointments Staff Settings.
*
* @since 0.8.0
* @package Simply_Schedule_Appointments
*/
/**
* Simply Schedule Appointments Staff Settings.
*
* @since 0.8.0
*/
class SSA_Staff_Settings extends SSA_Settings_Schema {
/**
* Parent plugin class.
*
* @since 0.0.3
*
* @var Simply_Schedule_Appointments
*/
protected $plugin = null;
/**
* Constructor.
*
* @since 0.0.3
*
* @param Simply_Schedule_Appointments $plugin Main plugin object.
*/
public function __construct( $plugin ) {
parent::__construct();
$this->plugin = $plugin;
$this->hooks();
}
/**
* Initiate our hooks.
*
* @since 0.0.3
*/
public function hooks() {
}
protected $slug = 'staff';
public function get_schema() {
if ( !empty( $this->schema ) ) {
return $this->schema;
}
$this->schema = array(
'version' => '2019-12-26.2',
'fields' => array(
'enabled' => array(
'name' => 'enabled',
'default_value' => '',
),
),
);
return $this->schema;
}
}